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

Disabling traits has no effect

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.4.8
    • Fix Version/s: None
    • Component/s: Integration
    • Labels:
      None

      Description

      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.
      

        Checklists

        Acceptance criteria

          Attachments

          1. date.png
            date.png
            44 kB
          2. pages-app.png
            pages-app.png
            55 kB

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rgange Richard Gange
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response:

                  Checklists

                  DoD