Copied to clipboard

Flag this post as spam?

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


  • Simon 692 posts 1068 karma points
    May 08, 2015 @ 07:31
    Simon
    0

    nuPickers relationship - Saving twice

    Hi,

    I am hacing a relationship between nodes, using nuPickers. I am using Umbraco 7.1.2

    But when creating a node whereI need to select any related node, for example selecting the client for a new project, I had to save twice because  after the first publish, an error will occur stating no sequence etc...

    Any ideas pls

    Thank you.

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    May 08, 2015 @ 10:46
    Hendy Racher
    100

    Hi Simon,

    Can I ask what version of nuPickers you are using ? The relations code was refactored in v1.5.0 such that they are now set when a document is saved, rather than via ajax calls. This fixed an issue where relations were not being created on content creation (as that content didn't have an id until it was saved). If you've recently updated to v1.5.0, perhaps wiping the ClientDependency files in /App_Data might fix such an issue ?

    HTH,

    Hendy

  • Simon 692 posts 1068 karma points
    May 09, 2015 @ 08:59
    Simon
    0

    Currently, I have the version 1.2.1 of nuPickers.

    How can I update the package without affecting the current relationships that I have?

    Thank you.

    Kind Regards

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    May 09, 2015 @ 12:09
    Hendy Racher
    0

    Hi Simon,

    The relations are still stored in the same way so you should have no issues with an upgrade, although the latest nuPickers does require Umbraco 7.1.3 or later.

    HTH,

    Hendy

  • Simon 692 posts 1068 karma points
    May 09, 2015 @ 13:23
    Simon
    0

    Hi Hendy,

    How should I upgrade Please, may I ask?

    Kind Regards

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    May 09, 2015 @ 14:12
    Hendy Racher
    0

    Hi Simon, 

    How did you install the package ? 

    If as an Umbraco package, then you can uninstall the package, and install the new version.

    If via NuGet, then click update.

    HTH,

    Hendy

  • Simon 692 posts 1068 karma points
    May 09, 2015 @ 14:58
    Simon
    0

    As an umbraco package, but if I uninstall, I afraid that I might lose data or lose the relationships.

    Could I just replace the .ddl file?

    Thank you

  • Simon 692 posts 1068 karma points
    May 09, 2015 @ 15:05
    Simon
    1

    Hi Hendy,

    Problem Solved.

    Thank you. :)

    Cheers

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    May 09, 2015 @ 15:13
    Hendy Racher
    1

    Just to confirm, uninstallation & installation via any mechanism will not have any impact on saved data.

  • Simon 692 posts 1068 karma points
    May 09, 2015 @ 15:15
    Simon
    0

    Cheers :) 

Please Sign in or register to post replies

Write your reply to:

Draft