Uploaded image for project: 'Magnolia Personalization'
  1. Magnolia Personalization
  2. MGNLPN-416

Disabling traits has no effect

XMLWordPrintable

    • 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

          1. date.png
            date.png
            44 kB
          2. pages-app.png
            pages-app.png
            55 kB
          3. image-2022-03-23-15-37-18-589.png
            image-2022-03-23-15-37-18-589.png
            527 kB

              yen.lactue Yen Lac Tue
              rgange Richard Gange
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 7h
                    7h