[MGNLSTK-691] Glossary Letter Template not available in Template drop-down menu Created: 25/Oct/10 Updated: 05/Apr/13 Resolved: 02/Apr/13 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | demoproject, templates |
| Affects Version/s: | 1.3.5 |
| Fix Version/s: | 1.4.9, 2.0 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Matt Dertinger | Assignee: | Milan Divilek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | stk, templates, templating, templating_kit | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Date of First Response: | |||||||||
| Description |
| Comments |
| Comment by Philipp Bärfuss [ 19/Jan/11 ] |
|
We should revert that and try to fix this in a more global way. If the currently assigned template is not in the list of available template we should do:
|
| Comment by Ondrej Chytil [ 03/Feb/11 ] |
|
Issue will be solved by change of template availability which should make it easier to configure (i.e. configuration should be done in site definition without need to change java classes). |
| Comment by Christian Ringele [ 30/Dec/11 ] |
|
This is a bug in the TemplatesAvailability class. if(category.equals(TemplateCategory.SECTION) || category.equals(TemplateCategory.HOME) || category.equals(TemplateCategory.FUNCTIONAL)){ return parentTemplateCategory.equals(TemplateCategory.HOME) || parentTemplateCategory.equals(TemplateCategory.SECTION) || parentTemplateCategory.equals(TemplateCategory.FUNCTIONAL); } to if(category.equals(TemplateCategory.SECTION) || category.equals(TemplateCategory.HOME) || category.equals(TemplateCategory.FUNCTIONAL)){ return parentTemplateCategory.equals(TemplateCategory.HOME) || parentTemplateCategory.equals(TemplateCategory.SECTION) || parentTemplateCategory.equals(TemplateCategory.FUNCTIONAL)|| parentTemplateCategory.equals(TemplateCategory.FEATURE); } |
| Comment by Christian Ringele [ 30/Dec/11 ] |
|
Have a look at commit 53067. Can be used identically for lower branches. |