[MGNLSTK-581] Site can't be resolved for versioned content during preview Created: 10/Feb/10  Updated: 23/Jan/13  Resolved: 17/Mar/10

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

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

Attachments: Text File stacktrace.txt    
Issue Links:
dependency
depends upon MAGNOLIA-3140 When retrieving parent content of ver... Closed
relation
is related to MGNLETK-18 Resolve site from Aggregation State Closed
is related to MGNLSTK-604 Variations are not resolved properly ... Closed
is related to MGNLSTK-605 Dynamically linked or aggregated cont... Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

The process that tries to bubble up the hierarchy to resolve the parent defining the site fails when trying to read /jcr:system/jcr:versionStorage and fails to resolve the site to be used (and therefore the variation) resulting in incorrect preview of versioned items.

To reproduce:
login as editor or publisher and try to preview some content using variations (e.g. /demo-project/multimedia )

Stacktrace attached.



 Comments   
Comment by Philipp Bärfuss [ 17/Mar/10 ]

btw. the site should not be searched at all by examining the content

Comment by Jan Haderka [ 17/Mar/10 ]

Indeed. That part was solved by MGNLETK-18, however same was true for all the other properties that are normally inherited from the parent.

Comment by Jan Haderka [ 17/Mar/10 ]

Resolved by MAGNOLIA-3140. Children of ContentVersion now return correct parent.

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