U4-2277 - New Template API incomplete - no inheritance support

Created by Shannon Deminick 28 May 2013, 01:31:47 Updated by Shannon Deminick 09 Jan 2015, 06:10:46

Relates to: U4-2243

Relates to: U4-2276

Relates to: U4-5846

Subtask of: U4-5830

It is not possible to set template inheritance or check for a template's children and therefore we cannot use the new API to save master page template files since we need to update the contents of the master page templates using the MasterpageHelper.

Comments

Shannon Deminick 28 May 2013, 01:41:05

When creating files in the TemplateRepository we need to use the same logic found in these methods: MasterPageHelper.CreateMasterPage(t, true); ViewHelper.CreateViewFile(t, true);

(these classes need to be migrated over to Core).

which requires template inheritance to work, among other things.


Shannon Deminick 09 Jan 2015, 04:37:41

When a template MVC view's content changes we should detect if the Layout has changed and if so we need to adjust the parent id, same goes for master pages


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 6.0.0, 6.1.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5

Due in version: 7.3.0

Sprint:

Story Points:

Cycle: