Fixed: LabelManager doesn't search labels in all elements in xml
Currently, label manager for xml search only for fail-property elements in xml
files, it should also search for the property-to-field, default-message element
in xml files.
Thanks: Suraj Khurana
@@ -292,6 +292,8 @@ public class LabelReferences {
findUiLabelMapInFile(inFile, file.getPath());
findLabelKeyInElement(inFile, file.getPath(), "set");
findLabelKeyInElement(inFile, file.getPath(), "fail-property");
+ findLabelKeyInElement(inFile, file.getPath(), "property-to-field");
+ findLabelKeyInElement(inFile, file.getPath(), "default-message");
}
}
}
