[MGNLSD-165] Custom Paragraphs not available in Sitedesigner Created: 16/Jan/08  Updated: 06/Oct/08  Resolved: 06/Oct/08

Status: Closed
Project: Sitedesigner (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Giancarlo Berner Assignee: Tom Wespi
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia EE 3.5.2, simpleDBPersistenceManager with MySQL


Template:
Acceptance criteria:
Empty

 Description   

When clicking a "Layout Edit Bar" and opening the "Paragraph List" tab, the custom paragraphs are visible.
When clicking the "New" bar, the custom paragraphs are not visible.
The magnolia-error.log shows the following:
ERROR info.magnolia.module.admininterface.dialogs.ParagraphSelectDialog 15.01.2008 21:21:00 – Unable to load paragraph raceResultsLists
ERROR info.magnolia.module.admininterface.dialogs.ParagraphSelectDialog 15.01.2008 21:21:00 – Unable to load paragraph horizontal2LevelNav

How to reproduce:

  • Open /modules/templating/paragraphs
  • Create a new paragraph, with properties "description", "dialogPath", "name", "showInNewParagraphList", "templatePath", "title" and "type"
  • Create a new dialog
  • Write the script defined in the "templatePath" property
  • Restart Tomcat/Magnolia instance

Paragraphs is visible in the "Paragraph List" tab of the layout edit dialog, but not when clicking the New bar. It is not available, even if explicitly checked in the "Paragraph List" of the "Layout Edit" dialog.



 Comments   
Comment by Giancarlo Berner [ 16/Jan/08 ]

The ERROR message implies that Magnolia reads the NODENAME and later looks for the paragraph based on the NAME property.

This means that only paragraphs, having equal NODENAME and NAME properties are found and listed. So the workaround is to name the paragraph exactly the same as the NODENAME.

Please alter Magnolia to identify paragraphs according to the NAME property (and not the NODENAME).

Generated at Mon Feb 12 10:55:44 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.