[MAGNOLIA-7956] Change template task should clear old template properties Created: 09/Dec/20  Updated: 04/Aug/23

Status: Open
Project: Magnolia
Component/s: None
Affects Version/s: 6.2.5
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Jonathan Ayala Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to PAGES-1285 Changing template of component to Lin... Open
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)

 Description   

When using change template action properties from the old template remain which can cause confusion. These properties should be removed when changing template.

Steps to reproduce in demo:

  1. Create a page and add a link component to travel main page
  2. Change template to text & image
  3. Check in JCR browser that properties such as linkType and linkTypepage are still stored containing the old link component information

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