[MGNLSTK-953] Adding on a template definition to promos area a script triggers loosing 'inheritance' configuration form site definition Created: 17/May/12  Updated: 27/Mar/13  Resolved: 27/Mar/13

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: base system
Affects Version/s: 2.0.2
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Christian Ringele Assignee: Ondrej Chytil
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File InheritedPromosGone.png    
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Reproduce (see print screen):

  • Go on demo (or any bundle) to the stkSection
  • add to the areas the node 'promos'
  • point in the promos to any other templateScript (for test you can use the original defined in the site def).
    -> all inherited promos are gone

Seems as the 'inherited' node is not merged properly from the site definition. At least for the promos area.
I suspect a direct method call on the template bean instead on the proxy object.

(When adding an node into the promos area 'inheritance' with enabled:true, it works again)



 Comments   
Comment by Philipp Bärfuss [ 30/May/12 ]

The problem is that the STKPage class has several methods which violate the POJO. This conflicts with the proxy based merge.

Comment by Ondrej Chytil [ 27/Mar/13 ]

Solved by MAGNOLIA-4896.

Generated at Mon Feb 12 07:31:59 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.