[MGNLSTK-1017] Don't use member of TemplateDefinitionRegistry in TemplateCategoryUtil Created: 26/Oct/12 Updated: 06/Dec/12 Resolved: 06/Dec/12 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | templates |
| Affects Version/s: | 2.0 |
| Fix Version/s: | 2.0.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Roman Kovařík | Assignee: | Roman Kovařík |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Description |
|
Don't allow to have 2 instances of TemplateDefinitionRegistry in TemplateCategoryUtil. |
| Comments |
| Comment by Roman Kovařík [ 06/Dec/12 ] |
|
The previous code: private static TemplateDefinitionRegistry templateDefinitionRegistry = Components.getComponent(TemplateDefinitionRegistry.class); allowed creating of two different instances of TemplateDefinitionRegistry. |