U4-4046 - Rename "empty template" to "empty"

Created by Douglas Robar 14 Jan 2014, 11:40:38 Updated by Sebastiaan Janssen 15 Jan 2014, 20:13:05


Create a Partial View (or scripting file or partial view macro) Label is "Choose a snippet" but default item in dropdown is "empty template"

It should be "empty"


Sebastiaan Janssen 14 Jan 2014, 12:52:31

Fixed in rev 03090e85fd04be5e8bb4af2023168c9fdfea5ea5

Shannon Deminick 14 Jan 2014, 23:42:06

This would appear to be an issue with 6.x as well... right?

Sebastiaan Janssen 15 Jan 2014, 09:18:43

Sure, also fixed in rev bad118ac6b7fd9687bc5f68ddb2583263879733c

Douglas Robar 15 Jan 2014, 10:25:21

I'd like to re-open this.

Thanks for adding the 'Empty' item to the list of snippets. Please remove the older 'Empty Template' and 'Empty Template (For Use With Custom Views)' entries. These are not now needed.

Sebastiaan Janssen 15 Jan 2014, 19:44:37

Can't remove stuff that's on your local machine. For upgraders they'll both be there, not much we can do about it. In a clean install only "Empty" sans "Template" will be there.

Douglas Robar 15 Jan 2014, 19:48:20

A clean install of 7.0.2 nightly #238 has both sets in there, though I didn't find any files associated with the 'Empty Template' entries. But maybe I didn't know where to look?

Sebastiaan Janssen 15 Jan 2014, 20:13:05

Ah yes, it's because (wonderfully..!) we've hardcoded the empty snippets in the codebehind too, because they need to be sorted at the top. :S

Updated for both 6.20 and 7.0.2, thanks for the heads up!

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.1

Due in version: 6.2.0, 7.0.2


Story Points: