[MGNLSTK-727] Freemarker exception for demo-project when accessing as external user Created: 16/Dec/10 Updated: 19/Jan/11 Resolved: 18/Jan/11 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | demoproject |
| Affects Version/s: | 1.4.1 |
| Fix Version/s: | 1.4.2 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Zdenek Skodik | Assignee: | Federico Grilli |
| 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 |
|
Rendering whatever demo site by a ldap user results in attached freemarker exception for templating-kit/paragraphs/pur/link.ftl. The problematic instruction is: userFullName=ctx.user.getProperty("title")!userName
It's a continuous story of As a temporary workaround you can edit the script and bypass retrieving the problematic property by assigning (the fallback) userName directly to userFullName. |
| Comments |
| Comment by Magnolia International [ 17/Dec/10 ] |
|
When fixing If this test still passes, I have to admit I .. don't get it. |
| Comment by Magnolia International [ 17/Dec/10 ] |
|
Okay, testing on a 4.4.1 bundle + ldap, I can confirm this happens, although I don't see the exception on screen. |
| Comment by Magnolia International [ 17/Dec/10 ] |
|
Finally figured out what was going on ! |
| Comment by Magnolia International [ 17/Dec/10 ] |
|
Reopening, needs an update task for the template. |
| Comment by Federico Grilli [ 18/Jan/11 ] |
|
Actually we don't need an update task for this as templates are automatically overwritten when the "Update template during upgrades automatically" option is checked. |