[MGNLSTK-338] "News" cannot be created under "News Overview" Created: 16/Apr/09 Updated: 23/Jan/13 Resolved: 26/May/09 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | templates |
| Affects Version/s: | 1.0 |
| Fix Version/s: | 1.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Rainer Blumenthal | Assignee: | Teresa Miyar |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Patch included: |
Yes
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
|
"News" pages cannot be created under "News Overview" pages. We patched "STKTemplate.java" ... // only section pages can have content if (getCategory().equals(TemplateCategory.CONTENT)) { return parentTemplateCategory.equals(TemplateCategory.SECTION) || parentTemplateCategory.equals(TemplateCategory.CONTENT) *|| parentTemplateCategory.equals(TemplateCategory.FEATURE)*; }... |
| Comments |
| Comment by Rainer Blumenthal [ 16/Apr/09 ] |
|
The last "||" in the return line is new... nothing else changed. I thought the * would mark it in bold... sorry. We have a patch running for this, right now. (for STK M3) |
| Comment by Magnolia International [ 17/Apr/09 ] |
|
out of topic, but you're better off doing |
| Comment by Rainer Blumenthal [ 17/Apr/09 ] |
|
out of topic again, i wanted to but we didn't check in the original file before modifying it - so i couldn't easily create that file |