I am using Umbraco 4.11.10 (1.0.4926.14927) and uCommerce 4.0.7.13340.
Using the backend to manually add an order successfully adds the order. However some of the order fields contain some of the default store data which has already been deleted previously (but still in the DB). These include:
1) "Overview Sold To" field is set to "Denmark"
2) "Shipping Shipment #1" field is set to "Denmark"
3) "Shipping Shipping Method" field is set to "Download"
These values come from the sample store, however as stated above all of the sample store data has been deleted using the Commerce section. I'm aware these are soft deletes and still in the DB but should therefore not show up when adding a new order manually.
Numbers 1 and 2 can be easily amended on the order by using the "Edit" links for both, however a better solution would be to have the correct default value from the start. For number 3, clicking "Edit" throws an error 500:
Exception information:
Exception type: ArgumentOutOfRangeException
Exception message: 'ShippingMethodDropDown' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value
at System.Web.UI.WebControls.ListControl.PerformDataBinding(IEnumerable dataSource)
at System.Web.UI.WebControls.ListControl.PerformSelect()
at UCommerce.Web.UI.UCommerce.Orders.EditShipmentInfo.ToggleEditor()
at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Our store is already populated with other products, so the best might be to obtain a script which will delete all references to any such "deleted" shop data. If this is a bug, hopefully it will be fixed in the next release.
Incorrect default data for manual Add Order
Hi there
I am using Umbraco 4.11.10 (1.0.4926.14927) and uCommerce 4.0.7.13340.
Using the backend to manually add an order successfully adds the order. However some of the order fields contain some of the default store data which has already been deleted previously (but still in the DB). These include:
1) "Overview Sold To" field is set to "Denmark"
2) "Shipping Shipment #1" field is set to "Denmark"
3) "Shipping Shipping Method" field is set to "Download"
These values come from the sample store, however as stated above all of the sample store data has been deleted using the Commerce section. I'm aware these are soft deletes and still in the DB but should therefore not show up when adding a new order manually.
Numbers 1 and 2 can be easily amended on the order by using the "Edit" links for both, however a better solution would be to have the correct default value from the start. For number 3, clicking "Edit" throws an error 500:
Our store is already populated with other products, so the best might be to obtain a script which will delete all references to any such "deleted" shop data. If this is a bug, hopefully it will be fixed in the next release.
Thanks in advance,
Rigardt
Hi Governor,
This is a bug! Thanks for bringing this to our attention.
This will be fixed in one of the next releases.
To fix the data, the best approach is probably to create a script.
Kind regards,
Jesper
Hi Jesper
Is it possible that you could provide a complete sample script for this?
Regards,
Rigardt
No, i am afraid not.
You might start in the uCommerce_Shipment table, with the ShippingMethodId.
Kind regards,
Jesper
is working on a reply...