[MGNLPN-622] template-definition property "personalizable: false" does not work with p13n-2.1 Created: 21/Feb/22  Updated: 17/Mar/22  Resolved: 17/Mar/22

Status: Closed
Project: Magnolia Personalization
Component/s: None
Affects Version/s: 2.1
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Christoph Meier Assignee: Jesus Alonso
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 3.5h
Original Estimate: Not Specified

Attachments: Zip Archive component-features.zip     PNG File image-2022-03-15-15-49-08-655.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Sprint: AuthorX 5

 Description   

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.

 


Generated at Mon Feb 12 06:39:28 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.