Details
-
Improvement
-
Status: Open
-
High
-
Resolution: Unresolved
-
None
-
None
-
None
-
0.5
-
Pulsar
-
Platform 213 SSO Delivery 3, Platform 215, !Pulsar - Misc brXM
Description
It is currently possible to specify multiple overlapping autoexport:modules mappings, such that:
- / => application
- /content/documents/main/ => development
- /content/documents/main/production-data => application
This doesn't consistently work as expected, since the module-to-path mappings are not kept in the order specified, and DefinitionMergeService.getModuleByAutoExportConfig() uses a "first match wins" algorithm.
I think a single-line fix to store the mappings with a LinkedHashMap should result in the desired behavior.