-
Bug
-
Resolution: Done
-
Major
-
20.0.0.Final, 20.0.1.Final, 21.1.0.Final
-
None
The fix for WFCORE-6199 assumes that two ModuleDependency objects with the same ModuleIdentifier are equal, and thus ModuleSpecification discards any provided ModuleDependency if it already has one for the same identifier. But that is not a valid assumption, as different artifacts in a deployment can have their own dependency information. For example an ear's root MANIFEST.mf can have Dependencies: foo while it's lib/alib.jar's MANIFEST.mf can have Dependencies: foo export services metainf. The WFCORE-6199 changes results in discarding important data.
A possible fix for this is to make ModuleDependency and FilterSpecification override equals and hashcode and check for duplicate ModuleDependencies instead of duplicate identifiers.
- is cloned by
-
JBEAP-25317 [GSS](7.4.z) WFCORE-6442 - ModuleSpecification discards dependency information
- Closed
-
JBEAP-25334 (8.0.z) WFCORE-6442 - ModuleSpecification discards dependency information
- Closed
- is triggering
-
WFCORE-6445 Update ModuleSpecification.getMutableUserDependencies to resolve pending TODOs
- Resolved
- relates to
-
WFCORE-6608 Inconsistent user dependency views in ModuleSpecification
- Resolved