[MGNLETK-41] Incomplete site definitions render Magnolia CMS unusable Created: 06/Oct/10  Updated: 03/Jul/14  Resolved: 08/Oct/10

Status: Closed
Project: Extended Templating Kit (closed)
Component/s: None
Affects Version/s: 1.3.5
Fix Version/s: 1.4

Type: Bug Priority: Major
Reporter: Antti Hietala Assignee: Ondrej Chytil
Resolution: Fixed Votes: 0
Labels: site_definition
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia 4.3.7, ETK 1.3.5


Attachments: Text File HTTP Status 500.txt     PNG File Screen shot 2010-10-06 at 4.26.16 PM.png     PNG File Screen shot 2010-10-06 at 4.26.30 PM.png     PNG File Screen shot 2010-10-06 at 4.26.40 PM.png    
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Incomplete site definitions render Magnolia CMS unusable. AdminCentral will return "HTTP Status 500" and does not render pages.

To reproduce:

  1. Install Enterprise Edition 4.3.7
  2. In Templating Kit > Site Definitions, copy the existing site definition "demo-project-de" as a new site definition and change its name to "example".
  3. Under "example", add a sub content node "mappings".
  4. Under "mappings", add a sub content node "websit" (note the intentional typo, missing "e")
  5. Go to the Website workspace.

Magnolia breaks, displaying HTTP Status 500. System is unrecoverable except maybe with Groovy Rescue Console. Please make the system more forgiving regarding incomplete and mistyped site definitions.

Error message attached.



 Comments   
Comment by Christian Ringele [ 06/Oct/10 ]

The effect Anti describes adds two mappings to the site definition by the extends mechanism.
The same can be reproduced just by adding a second mapping to a site definition named 'websit'.

'untitled' it accepts, but not 'websit'.
See print screens.

Comment by Federico Grilli [ 06/Oct/10 ]

From now on this will be known in literature as the Antti Syndrome.

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