Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alejandro Núñez 1 post 71 karma points
    Mar 16, 2016 @ 19:08
    Alejandro Núñez
    0

    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

  • Jeroen Oostwouder 100 posts 296 karma points
    Mar 30, 2016 @ 14:28
    Jeroen Oostwouder
    0

    I'm running 7.4.2 and 1.14.1, and I have the same error.

  • Mounhim Tahtahi 41 posts 62 karma points
    Apr 17, 2016 @ 21:34
    Mounhim Tahtahi
    0

    Same here. Any one has a fix already?

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Apr 18, 2016 @ 04:26
    Nicholas Westby
    0

    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.
  • Markus Johansson 1909 posts 5733 karma points MVP c-trib
    Apr 22, 2016 @ 11:28
    Markus Johansson
    0

    Any solution to this?

  • Markus Johansson 1909 posts 5733 karma points MVP c-trib
    Apr 22, 2016 @ 11:38
    Markus Johansson
    0

    The controller returns this:

    {
    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?

    // m

  • Jeroen Oostwouder 100 posts 296 karma points
    Apr 22, 2016 @ 11:48
    Jeroen Oostwouder
    0

    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

  • Markus Johansson 1909 posts 5733 karma points MVP c-trib
    Apr 25, 2016 @ 06:08
    Markus Johansson
    0

    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.

  • Joe 30 posts 133 karma points
    Sep 03, 2018 @ 22:26
    Joe
    0

    I'm facing the same problem after adding a culture to the site. Any news?

Please Sign in or register to post replies

Write your reply to:

Draft