Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
UI Framework & 6.2 Ramp up 15
-
1
Description
Lombok's @Data annotation does not include fields from the super class in the generated equals and hashCode methods. This can lead to subtle bugs when instances of such classes are used as keys in a map. We should use the @EqualsAndHashCode(callSuper = true) annotation where necessary to explicitly include fields of super classes. Potential candidates are:
- info.magnolia.personalization.ui.TraitVoterItemProvider.Definition
Checklists
Acceptance criteria
Attachments
Issue Links
- clones
-
MGNLUI-5628 Some @Data annotated classes do not include fields from superclass in equals / hashCode
-
- Closed
-
- relates to
-
MGNLUI-5628 Some @Data annotated classes do not include fields from superclass in equals / hashCode
-
- Closed
-