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)
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?
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)
Did you fill out all the fields on the shipping form?
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?
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.
is working on a reply...