[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: |
|
| 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. When set to false, it is expected that the action "Add component variant" is disabled. The feature did work like expected in p13n-2.0.15.
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".
|