U4-1439 - 4.11.2 DataEditorSetting not working for UserControl wrapper

Created by Jonny Irwin 11 Jan 2013, 12:00:06 Updated by Sebastiaan Janssen 15 Jan 2013, 22:15:00

I have been trying to create a number of datatypes using the usercontrol wrapper. To enable Prevalues I have been using the DataEditorSetting as described http://www.nibble.be/?p=93 and http://umbraco.com/follow-us/blog-archive/2010/10/29/new-in-juno,-data-editor-settings.aspx

Using the following dummy code, a "Thingy" pre-value text field appears in v4.9.1 and 4.10.1 for the datatype in the developer section of the admin site:

public partial class WebUserControl1 : System.Web.UI.UserControl, IUsercontrolDataEditor { [DataEditorSetting("Thingy")] public string DataEditorThingy { get; set; } protected void Page_Load(object sender, EventArgs e) public object value { get; set; } }

I have tried this with both 4.11.2 and v6 nightlies and it no longer works in either of these. There is no error given but the prevalue text field does not appear.

Comments

Niels Hartvig 15 Jan 2013, 14:28:46

Fixed in 904e42728f0a


Priority: Normal

Type: Bug

State: Fixed

Assignee: Niels Hartvig

Difficulty: Normal

Category: Editor

Backwards Compatible: False

Fix Submitted:

Affected versions: 6.0.0, 4.11.2

Due in version: 4.11.4

Sprint:

Story Points:

Cycle: