U4-1412 - Inserting macro into template - Ask for macroproperties when there are none

Created by Sebastiaan Janssen 08 Jan 2013, 15:27:29 Updated by Sebastiaan Janssen 10 Jan 2013, 13:22:31

Problem is caused by EditMacro.js when testing for this._opts.renderingEngine, this gives an error:

Uncaught TypeError: Cannot read property 'renderingEngine' of null EditMacro.js:156 this._opts is null and I can't see why it's not being initialized.

If it helps, I'm in WebForms mode

Also, why do we automatically get Mvc if this is empty? Shouldn't it always just be filled with the correct value?

//if it is Mvc or empty, then use Mvc if (this._opts.renderingEngine !== "undefined" || this._opts.renderingEngine == "Mvc" || this._opts.renderingEngine == "")

Comments

Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 6.0.0

Due in version:

Sprint:

Story Points:

Cycle: