WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

[BUG] Xpath condition stops after finding a single match in a file #795

@jmle

Description

@jmle

Is there an existing issue for this?

  • I have searched the existing issues

Konveyor version

latest

Priority

Critical

Current Behavior

It looks like the builtin xpath condition stops looking into a file after it has found the first match, so if there are more potential matches in the file, they won't appear if a match was already found.

Expected Behavior

The condition should match against all occurrences.

How Reproducible

Always (Default)

Steps To Reproduce

No response

Environment

- **Analyzer Image SHA** 
- **JDTLS  base image SHA**
- **Provider Settings JSON**

Anything else?

No response

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.providertriage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions