-
Bug
-
Resolution: Fixed
-
Neutral
-
1.4.8
-
-
Empty show more show less
-
Yes
-
AuthorX 6
-
1
The class TraitDefinition has a isEnabled() setting that has no effect. Even when disabling a trait it still shows up in the chooser. This creates a situation where traits have to be deleted from the system in order to keep them from being used by content editor, which then leads to warnings in the log.
WARN info.magnolia.personalization.trait.storage.StorageAwareTraitCollector 08.03.2018 11:10:07 -- Trait couldn't be added. Definition "class info.magnolia.personalization.visitor.Visitor" doesn't exist. WARN info.magnolia.personalization.trait.storage.StorageAwareTraitCollector 08.03.2018 11:10:16 -- Trait couldn't be added. Definition "class java.util.Date" doesn't exist.
Acceptance criteria
- duplicates
-
MGNLPN-579 Setting enabled: false on a trait does not disable it.
- Closed
- is related to
-
MGNLPN-367 TraitChooserField should not include disabled traits
- Closed
- to be documented by
-
MGNLPN-627 DOC: Update TraitDefinition class to cover new disabling feature
- Closed