[MAGNOLIA-1193] templating: better log for uncorrect configurations, name siblings, path not found, ... Created: 08/Nov/06  Updated: 04/Nov/15  Resolved: 04/Nov/15

Status: Closed
Project: Magnolia
Component/s: templating
Affects Version/s: 3.0 RC4
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Ryan Gardner Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Tomcat server that came with the RC4 bundle, and using Firefox 2.0 as browser


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   

I found this bug by doing this step:

  • Created a new folder inside the dialog tree at the same level as "samples" called "speakersbureau"
  • with the "samples" node expanded, copied the "samples-textimage" node by right clicking on it, and then "pasted" it into the "speakersbureau" folder
  • the name of the node in the "speakersbureau" folder was the exact same as the one in the "samples" folder, and this caused a lot of grief later on...

To fix this issue, I copied the "samples-textimage" and pasted it again inside the "speakersbureau" folder and it then correctly appended a "0" to the end of the name to give it a unique name. I then deleted both "samples-textimage" and renamed the copied one to no longer have the "0" after it's name.

Until I did the little two-step to restore it, attempting to create paragraphs with the samples-textimage was throwing exceptions about not being able to find the dialog for the paragraph. (because there were two of them?)



 Comments   
Comment by Ryan Gardner [ 08/Nov/06 ]

oh - I was able to duplicate this by following the same steps for a few other dialogs.

Comment by Ryan Gardner [ 09/Nov/06 ]

I also noticed that unless the template's name exactly matches the paragraphs name, it would throw an exception about not finding the dialog...

Comment by Philipp Bracher [ 17/Nov/06 ]

The config tree is nothing more than a 1:1 tree of the repository. Means its totaly leagal to create a node somewhere with the same name (unless not on the same level).

But the Dialog and Pragraph Managers should do some checks and log helful messages.

Comment by Michael Mühlebach [ 04/Nov/15 ]

Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes.
Thanks for taking the time to raise this issue. As you are no doubt aware this issue has been on our backlog for some time now with very little movement.
I'm going to close this to set expectations so the issue doesn't stay open for years with few updates. If the issue is still relevant please feel free to reopen it or create a new issue.

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