Copied to clipboard

Flag this post as spam?

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


  • Jan Vermeerbergen 79 posts 112 karma points
    Jul 05, 2012 @ 16:54
    Jan Vermeerbergen
    0

    Nodeset changes field order in content

    I have just installed the fieldset package and ran into a bit of an annoying thing:

    There's 6 properties: http://awesomescreenshot.com/0069qnk18
    I have grouped the first 3 and the last 3 (so 2 fieldsets).

    When I check the contentpage, the nodeset was created (and looks great!), but for some reason the same sorting order as in the doctype: http://awesomescreenshot.com/0649qo30f

    Is this a bug, or did I make a mistake myself ?

     

     

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Jul 05, 2012 @ 21:42
    Tom Fulton
    0

    Hi Jan,

    This was an issue in the initial 0.5 release, but (should have been) fixed in 0.5.1.  Can you confirm you're running the correct version?  You should be able to check by checking the properties of Our.Umbraco.DocTypeFieldsets.dll (Details tab -> File Version)

    Let me know if not, perhaps the bug is still lingering :)

    Thanks,
    Tom 

  • Jan Vermeerbergen 79 posts 112 karma points
    Jul 09, 2012 @ 16:36
    Jan Vermeerbergen
    0

    Hi Tom,

    yes it is version 0.5.1 ==> http://awesomescreenshot.com/072a0z654

    thanks,

    Jan

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Jul 11, 2012 @ 06:04
    Tom Fulton
    0

    Hi Jan,

    Thanks for the info.  I was able to reproduce the problem and have found the issue, but it may take me a couple days to get a proper fix up.

    In the meantime, a workaround:  perform a sort on that doctype in the backend - move a property, save, move it back, save.

    The issue is that I'm using the SortOrder property of each Property to keep all the properties in the correct order.  The problem appears to be that the SortOrder is 0 for all properties until sorting happens in the backend, so it's effectively sorting by the order you have defined in your config file (and reversing it).

    Let me know if this works for you, will begin working on a proper fix

    Thanks,
    Tom 

  • Jan Vermeerbergen 79 posts 112 karma points
    Jul 11, 2012 @ 10:45
    Jan Vermeerbergen
    0

    Hi Tom,

    thanks for your reply. I had discovered that indeed by sorting, saving, resorting, saving the doctypes appear in the right order in the content section, so yes, that works.

    Looking forward to an update.

     

    thanks!

    J

Please Sign in or register to post replies

Write your reply to:

Draft