Skip to content

Commit

Permalink
CCVAR: Fixed Same Attribute not updating correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
vabs95 committed Feb 26, 2024
1 parent bc18c36 commit 1a61329
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public void startElement(String uri, String localName, String quaName, Attribute
(String) ContentVariableReplacementUtil.getValue(contentVariableReplacements, key);
String newAttrValue = ContentVariableReplacementUtil.doReplacement(currentAttribute, key,
replaceValue, propertyConfigService.getAction(key));
currentAttribute = newAttrValue;

Check warning on line 79 in bundle/src/main/java/com/adobe/acs/commons/rewriter/impl/ContentVariableTransformer.java

View check run for this annotation

Codecov / codecov/patch

bundle/src/main/java/com/adobe/acs/commons/rewriter/impl/ContentVariableTransformer.java#L79

Added line #L79 was not covered by tests
newAttrs.setValue(i, newAttrValue);
}
}
Expand Down

0 comments on commit 1a61329

Please sign in to comment.