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

template-definition property "personalizable: false" does not work with p13n-2.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Neutral Neutral
    • None
    • 2.1
    • None
    • None

      In component-template-definition, there is the property personalizable.
      (See docs)

      When set to false, it is expected that the action "Add component variant" is disabled.
      (If the selected component derives from a component-template where personalizable is set to false).

      The feature did work like expected in p13n-2.0.15.
      It does not work anymore with p13n-2.1

       


       

      Steps to reproduce:

      Add the light-module "component-features" to your bundle. (The light-module is attached to this ticket as zip-file).

      component-features/
      ├── decorations
      │   └── mtk2
      │       └── templates
      │           └── pages
      │               └── basic.yaml
      ├── i18n
      │   └── module-component-features-messages_en.properties
      └── templates
          └── components
              ├── component-restrictions.ftl
              └── component-restrictions.yaml
      

      Create a page with template basic. In main area add component "component restricitions".
      Selected the newly created area and check the available actions.

       

        Acceptance criteria

              jalonso Jesus Alonso
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 3.5h
                    3.5h