Copied to clipboard

Flag this post as spam?

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


  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Mar 22, 2014 @ 03:01
    Bjarne Fyrstenborg
    1

    Values/tags get messy

    I have used this package in a small "proof of concept" site with Umbraco v. 7.1.0 RC and the property editor is used on multiple nodes on same level.

    The property editor have the following settings:

     

    I have then some content "movie" nodes, which use this property editor to set the genre.

    I start with clean data for this property in all movies. And then set "Batman Begins" to belongs to following genres: Action, Crime, Drama ... and click "save and publish".

    umbraco.config has updated the data ... all good so far.

    <movieGenre><![CDATA[[
      {
        "value": "Action",
        "group": "Genre"
      },
      {
        "value": "Crime",
        "group": "Genre"
      },
      {
        "value": "Drama",
        "group": "Genre"
      }
    ]]]></movieGenre>

    But then if I go to the node "Man of Steel" without doing anything else and then go back to "Batman Begins" node and see the data for the genre property it's different values that are initialised.

    the values in umbraco.config isn't changed yet, but if I save and publish now, the values gets updated - and it  wasn't those values I wanted.

    Actually it seems that the position is updated by 1 down in the prevalues.

    1. position: Original: Action  --> changed to Adventure (1 down in prevalues)
    2. position: Original: Crime  --> changed to Drama (1 down in prevalues)
    3. position: Original: Drama  --> changed to Fantasy (1 down in prevalues)

    So I think you are missing to add or subtract by 1 somewhere in your controller.js..

    /Bjarne

  • Rodske 74 posts 104 karma points
    Jun 22, 2015 @ 04:14
    Rodske
    0

    Did you manage to find the issue Bjarne?

  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Jun 22, 2015 @ 06:47
    Bjarne Fyrstenborg
    0

    Hi Rodske

    No, unfortunately not. I had tried to contact the developer, but without any luck.

    My case above was mostly a proof of concept / a school project, but it seems to be a problem with the indexes.

    /Bjarne

Please Sign in or register to post replies

Write your reply to:

Draft