[MGNLFORUM-225] Make forum-templates (components) nullpointer-safe Created: 28/Jan/14 Updated: 20/Feb/14 Resolved: 11/Feb/14 |
|
| Status: | Closed |
| Project: | Forum (closed) |
| Component/s: | templates |
| Affects Version/s: | None |
| Fix Version/s: | 3.3 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Christoph Meier | Assignee: | Christoph Meier |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: |
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
|
When crating a forum, some pages must be created and to those require some special components which must be added.
Mostly ever when viewing this pages in the pagesApp, the req.-params are missing, which leads to an error in the template-script, which shows the yellow freemarker-exception-stack-trace. Fix the freemarker-scripts in a way, that the render doesn’t throw an exception and show a usefull comment why the cpomeponent cannot be rendered properly currently and probably add a link in that comment with a proper URL with thhe required req.-params to properly display the forum-comps. |
| Comments |
| Comment by Espen Jervidalo [ 05/Feb/14 ] |
|
Make sure you don't leave commented code. info.magnolia.module.forum.frontend.action.ThreadList ThreadView |
| Comment by Mikaël Geljić [ 11/Feb/14 ] |
|
Again, remove those comments in ThreadView: |
| Comment by Christoph Meier [ 11/Feb/14 ] |
|
hopefully the comments are removed now :/ |
| Comment by Christoph Meier [ 17/Feb/14 ] |
|
Note: On master-branch, this one is committed against |