[MAGNOLIA-2359] Prevent dialog, paragraph and template duplicates Created: 10/Sep/08  Updated: 14/Oct/12  Resolved: 14/Oct/12

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: None
Fix Version/s: 4.5

Type: Improvement Priority: Major
Reporter: Magnolia International Assignee: Jan Haderka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLDMS-132 Dms query paragraph dialog is overrid... Closed
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)
Date of First Response:

 Description   

An example of how this causes problems is at MGNLDMS-132. It's generally just confusing.
Possible solutions:

  • just issue a warning when registering an element (template, paragraph, dialog, ...) with a name that already exists (and explicitely keep either the previous or the new one?)
  • use complete path to refer to dialogs/paragraphs/templates instead of just their name


 Comments   
Comment by Jan Haderka [ 14/Oct/12 ]

Fixed in 4.5 using <module_name>:<template_name> now to uniquely identify the target

Generated at Mon Feb 12 03:35:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.