I have upgraded from Umbraco 7.2.4 to 7.4.1 and installed the plugin Merchello and it's example shop Bazaar (v.1.14.1). Everything seems to be ok except when I click on any Document Type, in settings > document types, which include the property "Merchello Product List View" (i.e.: BazaarProductCollection, BazaarStore) that I get the error:
Request error: The URL returned a 404 (not found):
/umbraco/backoffice/Merchello/EntityCollectionApi/GetByKey
Besides that, when I open Bazaar as a user, I get:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary
in this line:
@if (Model.FeaturedProducts.Any())
I assume they're the same error. Anyone has any idea of what am I missing or how to resolve it?
If it's a bug, can't really help you. However, here are some things to try:
Delete your App_Data folder, clear your browser cache, and recycle the application pool. When upgrading, sometimes the old frontend files stick around and request backend resources that no longer exist.
Look in your Umbraco trace log to see if there is a stack trace to go with the error messages. That can help to track down exactly what went wrong.
{
message : "No HTTP resource was found that matches the request URI 'http://localhost:18724/umbraco/backoffice/Merchello/EntityCollectionApi/GetByKey'."
messageDetail : "No action was found on the controller 'EntityCollectionApi' that matches the request."
}
I have looked in the trace log and can't fint anything in there.
Feels like this issue only accours when you edit a document type and the "preview" is loaded. Probably becuase there is no model.value at this time?
It's only when you are editing a document type that contains this property editor. Since the editor dosen't provide a value for $scope.model.value the ID of the current page can't be passed to the EntityCollectionApi but the javascript code still tries to send a request.
It's just a simple if-statement that need to be added to the javascript-controller for the property editor.
Merchello error GetByKey
Hi:
I have upgraded from Umbraco 7.2.4 to 7.4.1 and installed the plugin Merchello and it's example shop Bazaar (v.1.14.1). Everything seems to be ok except when I click on any Document Type, in settings > document types, which include the property "Merchello Product List View" (i.e.: BazaarProductCollection, BazaarStore) that I get the error:
Request error: The URL returned a 404 (not found): /umbraco/backoffice/Merchello/EntityCollectionApi/GetByKey
Besides that, when I open Bazaar as a user, I get:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary
in this line:
@if (Model.FeaturedProducts.Any())
I assume they're the same error. Anyone has any idea of what am I missing or how to resolve it?
Thanks for your help, Álex
I'm running 7.4.2 and 1.14.1, and I have the same error.
Same here. Any one has a fix already?
If it's a bug, can't really help you. However, here are some things to try:
App_Data
folder, clear your browser cache, and recycle the application pool. When upgrading, sometimes the old frontend files stick around and request backend resources that no longer exist.Any solution to this?
The controller returns this:
I have looked in the trace log and can't fint anything in there.
Feels like this issue only accours when you edit a document type and the "preview" is loaded. Probably becuase there is no model.value at this time?
// m
I get it when I open the BazaarStore document-type in the settings page.
Request error: The URL returned a 404 (not found): /umbraco/backoffice/Merchello/EntityCollectionApi/GetByKey
Hi!
It's only when you are editing a document type that contains this property editor. Since the editor dosen't provide a value for $scope.model.value the ID of the current page can't be passed to the EntityCollectionApi but the javascript code still tries to send a request.
It's just a simple if-statement that need to be added to the javascript-controller for the property editor.
I'm facing the same problem after adding a culture to the site. Any news?
is working on a reply...