It looks like I must have cocked up another upgrade, (1.6 to 1.13), because I'm getting this in the error log
2016-01-13 05:09:38,883 [P2876/D2/T99] ERROR Merchello.Core.Gateways.Shipping.ShippingGatewayProviderBase - ShipMethods could not be determined for Shipment passed to GetAvailableShipMethodsForDestination method. Validator returned: ErrorNoCatalogFound
System.ArgumentException: merchWarehouseCatalogKey
2016-01-13 05:09:38,883 [P2876/D2/T99] ERROR Merchello.Core.Gateways.Shipping.ShippingGatewayProviderBase - ShipMethods could not be determined for Shipment passed to GetAvailableShipMethodsForDestination method. Attempt message: No CatalogKeys found in Shipment Items
System.ArgumentException: merchWarehouseCatalogKey
What's probably happening is a ship method was deleted prior to having a shipment fulfilled that referenced the ship method key.
To verify, look at any fulfilled orders and check to see if the error is there. If the page renders correctly, the problem is going to be with the shipmethodKey stored in the extended data of the shipping line items in the invoices that do not have fulfilled orders.
To fix, you may have to replace the keys in the extended data (which is going to be a bit of a pain). Alternatively, you may be able to recreate the shipmethod and manually update the key to the deleted one ...
If you have additional details it would be great if you would comment on the issue in the issue tracker.
All fulfilled orders render correctly except that the Actions dropdown is empty, but I imagine that might be a different issue.
I can see the errors in today's logs, but I can't get them to regenerate even after recycling the application pool. There are a few other errors that happen when the app pool recycles, which I'll include in case you think they are relevant.
2016-01-14 09:07:47,633 [P2784/D2/T1] ERROR Merchello.Core.Gateways.GatewayProviderResolver - Failed to create instance of type Free Over Amount Shipping Provider
System.NullReferenceException: Failed to create Type due to null Type or null constructor args
2016-01-14 09:07:47,633 [P2784/D2/T1] ERROR Merchello.Core.Gateways.GatewayProviderResolver - Failed to create instance of type Free Over Amount Shipping Provider
System.NullReferenceException: Failed to create Type due to null Type or null constructor args
2016-01-14 09:07:49,040 [P2784/D2/T1] WARN Umbraco.Core.Sync.DatabaseServerMessenger - No last synced Id found, this generally means this is a new server/install. The server will rebuild its caches and indexes and then adjust it's last synced id to the latest found in the database and will start maintaining cache updates based on that id
Hey David - one thing you might try is to pull the code down for the Free Over Amount shipping provider and make sure all the dependencies are up to date. There was a breaking change with Umbraco 7.3.0 (and subsequently Merchello 1.13.x) that may be the culprit if you did not delete your ship method ...
merchWarehouseCatalogKey upgrade issue
It looks like I must have cocked up another upgrade, (1.6 to 1.13), because I'm getting this in the error log
I note the only other relevant post I can find is here: https://our.umbraco.org/projects/collaboration/merchello/merchello/54596-Shipping-method-issue
There are lots of records merchCatalogInventory, but I'm not sure what the table does so I'm not sure how to validate the data in it.
Any ideas how I resolve this?
When do you encounter this error? Is it in the back office when you are trying to fulfill the shipment?
Just went reviewing orders, in the back office.
Thanks for your help.
What's probably happening is a ship method was deleted prior to having a shipment fulfilled that referenced the ship method key.
To verify, look at any fulfilled orders and check to see if the error is there. If the page renders correctly, the problem is going to be with the shipmethodKey stored in the extended data of the shipping line items in the invoices that do not have fulfilled orders.
I have not thought of that before, but it makes sense and I've subitted it asas a bug in the issue tracker - http://issues.merchello.com/youtrack/issue/M-929
To fix, you may have to replace the keys in the extended data (which is going to be a bit of a pain). Alternatively, you may be able to recreate the shipmethod and manually update the key to the deleted one ...
If you have additional details it would be great if you would comment on the issue in the issue tracker.
All fulfilled orders render correctly except that the Actions dropdown is empty, but I imagine that might be a different issue.
I can see the errors in today's logs, but I can't get them to regenerate even after recycling the application pool. There are a few other errors that happen when the app pool recycles, which I'll include in case you think they are relevant.
Hey David - one thing you might try is to pull the code down for the Free Over Amount shipping provider and make sure all the dependencies are up to date. There was a breaking change with Umbraco 7.3.0 (and subsequently Merchello 1.13.x) that may be the culprit if you did not delete your ship method ...
Sorry to need hand holding, but I'm not sure what you mean by "pull the code down".
Certainly no shipping methods were deleted.
My fault for not being clear - I just meant to rebuild the shipping provider with the latest version of Umbraco and Merchello dependencies.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.