[MGNLSTK-615] info.magnolia.cms.security.AccessDeniedException resulting in freemarker.template.TemplateModelException Created: 21/Apr/10 Updated: 13/Dec/11 Resolved: 12/Nov/10 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | None |
| Affects Version/s: | 1.3 |
| Fix Version/s: | 1.3.6, 1.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Jules S. | Assignee: | Philipp Bärfuss |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||
| Description |
|
This error is also visible on magnolia website. Please look at Maybe the affected nested document level is a noticable information for you. The error occurs at 6th document level, so does mine. My personal error stack trace is the following: FreeMarker template error! get(extras) failed on instance of info.magnolia.module.templatingkit.templates.STKTemplateModel Java backtrace for programmers: |
| Comments |
| Comment by Magnolia International [ 21/Apr/10 ] |
|
This sounds similar to |
| Comment by Philipp Bärfuss [ 23/Apr/10 ] |
|
The auto-generation must be executed with enough user permissions. This is Ok and I think we should not work around the issue by using the system context instead. But we should improve the templates in a way that they fail more gracefully. |
| Comment by Jan Haderka [ 06/Oct/10 ] |
|
The content passed in the ContentUtil in privileged context was obtained previously with non-privileged hierarchy manager. To fix the issue, this content has to be retrieved again. |
| Comment by Philipp Bärfuss [ 09/Nov/10 ] |
|
The current fix breaks the version view as the versioned content hides the fact that it resides in the version store. We should only execute the creation of the node to the system context. We should also change the code related to the creation of the main and extra area
|
| Comment by Philipp Bärfuss [ 12/Nov/10 ] |
|
We should use a more generic mechanism ( |
| Comment by Philipp Bärfuss [ 12/Nov/10 ] |
|
resolved by the fix for |