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.

  • Phil Crowe 192 posts 256 karma points
    May 16, 2012 @ 10:46
    Phil Crowe
    0

    ucommerce 2 'not-null property references a null or transient value' on shipping details page

    Im trying to use the example store i got with ucommerce 2.0 a while back. when i get to the shipping steps page i can see three radio buttons with an xslt parsing error. I checked the umbraco log and this is the error that is showing:

    not-null property references a null or transient value UCommerce.EntitiesV2.Shipment.ShipmentName Void CheckNullability(System.Object[], NHibernate.Persister.Entity.IEntityPersister, Boolean)    at NHibernate.Engine.Nullability.CheckNullability(Object[] values, IEntityPersister persister, Boolean isUpdate)     at NHibernate.Event.Default.AbstractSaveEventListener.PerformSaveOrReplicate(Object entity, EntityKey key, IEntityPersister persister, Boolean useIdentityColumn, Object anything, IEventSource source, Boolean requiresImmediateIdAccess)     at NHibernate.Event.Default.AbstractSaveEventListener.PerformSave(Object entity, Object id, IEntityPersister persister, Boolean useIdentityColumn, Object anything, IEventSource source, Boolean requiresImmediateIdAccess)     at NHibernate.Event.Default.AbstractSaveEventListener.SaveWithGeneratedId(Object entity, String entityName, Object anything, IEventSource source, Boolean requiresImmediateIdAccess)     at NHibernate.Event.Default.DefaultSaveOrUpdateEventListener.SaveWithGeneratedOrRequestedId(SaveOrUpdateEvent event)     at NHibernate.Event.Default.DefaultSaveOrUpdateEventListener.EntityIsTransient(SaveOrUpdateEvent event)     at NHibernate.Event.Default.DefaultSaveOrUpdateEventListener.PerformSaveOrUpdate(SaveOrUpdateEvent event)     at NHibernate.Event.Default.DefaultSaveOrUpdateEventListener.OnSaveOrUpdate(SaveOrUpdateEvent event)     at NHibernate.Impl.SessionImpl.FireSaveOrUpdate(SaveOrUpdateEvent event)     at NHibernate.Impl.SessionImpl.SaveOrUpdate(Object obj)     at UCommerce.EntitiesV2.Repository`1.Save(T entity)     at UCommerce.EntitiesV2.Shipment.Save()     at UCommerce.Xslt.TransactionLibrary.EditShipmentInformation(String addressName, String firstName, String lastName, String emailAddress, String phoneNumber, String mobilePhoneNumber, String company, String line1, String line2, String postalCode, String city, String state, String attention, Int32 countryId)     at UCommerce.Xslt.Library.<>c__DisplayClassc4.<EditShipmentInformation>b__c3()     at UCommerce.Xslt.Library.HandledCall[T](Func`1 method)

     

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    May 16, 2012 @ 13:16
    Søren Spelling Lund
    0

    Did you fill out all the fields on the shipping form?

  • Phil Crowe 192 posts 256 karma points
    May 16, 2012 @ 14:13
    Phil Crowe
    0

    Hi thanks for getting back to me so quickly soren. Yes fixed this by changing the hostname for the site. so do i need to write the validation for the forms in the checkout? Also on a spereate issue, how do you specify individual product discounts? the marketing section in umbraco looks like it only gives you group discount options on campaigns? 

  • Søren Spelling Lund 1797 posts 2786 karma points
    May 17, 2012 @ 08:58
    Søren Spelling Lund
    0

    You'll need to add something like jQuery validation yourself for this version of the site.

    You can certainly do individual product discounts with Marketing Foundation. The overview video will give you a better idea of how you set that up.

Please Sign in or register to post replies

Write your reply to:

Draft