Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Medjeti 75 posts 126 karma points
    Feb 21, 2013 @ 18:14
    Medjeti
    0

    uComponents Enum DropDownList with uCommerce Product?

    Hi all,

    Has anybody had any luck using the uComponents Enum DropDownList datatype on a uCommerce Product?

    The list shows and saves as it should on a regular Umbraco node. In uCommerce the dropdown list and values show up fine, but I get the following NullReferenceException when I save the product:

    Server Error in '/' Application.

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [NullReferenceException: Object reference not set to an instance of an object.]
    umbraco.cms.businesslogic.property.Property..ctor(Int32 Id) +325
    uComponents.DataTypes.EnumDropDownList.EnumDropDownListDataEditor.Save() +107
    UCommerce.Umbraco.Controls.Adapters.DataEditorControlAdapter.GetValue(Control control) +43
    UCommerce.Web.UI.UCommerce.Controls.PropertyEditor.get_Text() +8

    [TargetInvocationException: Property accessor 'Text' on object 'UCommerce.Web.UI.UCommerce.Controls.PropertyEditor' threw the following exception:'Object reference not set to an instance of an object.']
    System.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component) +7837197
    System.Web.UI.WebControls.BaseValidator.GetControlValidationValue(String name) +87
    System.Web.UI.WebControls.RequiredFieldValidator.EvaluateIsValid() +107
    System.Web.UI.WebControls.BaseValidator.Validate() +109
    System.Web.UI.Page.Validate() +289
    System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +115
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707

    This is a fresh install, so everything should be brand spanking new:
    Umbraco v4.11.4, uComponents v5.4.0, uCommerce v3.0.5.13045

    Any ideas?

    Thanks in advance!
    /Mikael

  • Medjeti 75 posts 126 karma points
    Feb 28, 2013 @ 16:49
    Medjeti
    0

    Anybody?

Please Sign in or register to post replies

Write your reply to:

Draft