We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See #43, #403 etc. We specified the ID fallback as following: https://github.com/devonfw/IDEasy/blob/main/documentation/configurator.adoc#element-identification
The implementation is wrong and never tested:
IDEasy/cli/src/main/java/com/devonfw/tools/ide/merge/xmlmerger/matcher/ElementMatcher.java
Lines 56 to 71 in f296ef9
While it tries to handle the cases it does not actually initialize a fallback at all and IMHO the only fallback for the name is incorrect.
merge:id
#403
As stated above the fallback needs to be name(), @id or @name according to the attribute presence.
name()
@id
@name
The text was updated successfully, but these errors were encountered:
devonfw#621: fixed ID fallback for XML merger
73bf6ce
devonfw#621: added to CHANGELOG
1b15d6e
#621: fixed ID fallback for XML merger (#622)
28e8782
Successfully merging a pull request may close this issue.
Expected behavior
See #43, #403 etc. We specified the ID fallback as following:
https://github.com/devonfw/IDEasy/blob/main/documentation/configurator.adoc#element-identification
Actual behavior
The implementation is wrong and never tested:
IDEasy/cli/src/main/java/com/devonfw/tools/ide/merge/xmlmerger/matcher/ElementMatcher.java
Lines 56 to 71 in f296ef9
While it tries to handle the cases it does not actually initialize a fallback at all and IMHO the only fallback for the name is incorrect.
Steps to reproduce (bug) / Use Case of feature request (enhancement)
merge:id
attributes for elements that have name or id attributeRelated/Dependent Issues
#403
Comments/Hints:
As stated above the fallback needs to be
name()
,@id
or@name
according to the attribute presence.Affected version:
The text was updated successfully, but these errors were encountered: