[MGNLSTK-814] Rename "template" attribute to "templatePath" in info.magnolia.module.templatingkit.templates.Area Created: 07/Dec/11 Updated: 02/Jan/12 Resolved: 02/Jan/12 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | None |
| Affects Version/s: | 1.4.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Will Scheidegger | Assignee: | Philipp Bärfuss |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
|
The path to free marker template files in STK are usually stored in a "templatePath" attributes of the template or paragraph definition. Not so for areas. Here, a "template" attribute is being used. Is there a reason for this or should this also be named "templatePath"? One could even add a second accessor method to the Area class for backwards compatibility... |
| Comments |
| Comment by Philipp Bärfuss [ 02/Jan/12 ] |
|
In Magnolia 4.5 the templates and areas are of the same type. The property is named templateScript to make it more explicit. |