Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proposed fix for WW-5029 for the 2.5.x branch (apache#347)
* Proposed fix for WW-5029 for the 2.5.x branch: - NOTE: If the PR is accepted please credit Maxime Clement for this change as they found the issue, identified the probable cause/related details and opened the JIRA. - Updated XWorkConfigurationProvider buildAllowedMethods(), loadGlobalAllowedMethods() so that they now handle situations when a SAX parser produces multiple elements to represent the tag body value. - No changes to unit tests. * Update commit to fix weakness identified by Maxime Clement: - Implementation should now properly concatenate the node children values together (as a single unified string) in both buildAllowedMethods(), loadGlobalAllowedMethods() - before generating the method Set to be added. - Made some eligible variables final. * Update commit to provide new unit tests: - Added unit tests to confirm the fixes for buildAllowedMethods(), loadGlobalAllowedMethods() - Added Mock DOM classes sufficient for these tests. - Added unit tests to cover buildResults() and loadGlobalResults(). (cherry picked from commit fb38a91)
- Loading branch information