mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
123502 adavis: Merged 5.0.N (5.0.4) to 5.1.N (5.1.1) 123484 adavis: MNT-14295 TransformerConfigLimits Behavior Differs on Java 7 vs 8 - Fixed TransformerPropertyNameExtractor so that it discarded limit or max properties if its sibling max or limit value is supplied and has a lower value (i.e. it should be used). - Cleaned up TransformerConfigLimits.setTransformationLimitsFromProperties - This has been a problem since 4.2. - The problem only came to light with the switch to Java 8, as the order in which transformer properties are loaded changed. They were being loaded in MapEntry order. The problem did not show up in the unit tests, because they too were impacted by the MapEntry order and ironically loaded the properties in the same order. - Added unit tests that are supply both max an limit values. - Enhanced the debug and toString methods in order to trace the problem. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261