Copied to clipboard

Flag this post as spam?

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


  • Mark Wemekamp 56 posts 336 karma points
    Jan 16, 2017 @ 15:07
    Mark Wemekamp
    0

    CanEdit and CanView not being serialized for MemberType

    Hi Kevin,

    We've installed Usync 3.3.0.740 (on Umbraco 7.5.4) and it appears the CanEdit and CanView properties on membertype are not being serialized.

    Property:

    enter image description here

    Output:

    <GenericProperty>
      <Key>ee70b2ad-662d-4d82-9524-25062677a044</Key>
      <Name>Test</Name>
      <Alias>test</Alias>
      <Definition>0cc0eba1-9960-42c9-bf9b-60e150b429ae</Definition>
      <Type>Umbraco.Textbox</Type>
      <Mandatory>false</Mandatory>
      <Validation></Validation>
      <Description><![CDATA[]]></Description>
      <SortOrder>1</SortOrder>
      <Tab>Identity</Tab>
      <CanEdit>false</CanEdit>
      <CanView>false</CanView>
    </GenericProperty>
    

    Is this a bug or something we're missing in our configuration?

    Thanks in advance

    Kind regards,

    Mark

  • Kevin Jump 991 posts 5547 karma points mvp c-trib
    Jan 16, 2017 @ 15:40
    Kevin Jump
    100

    Hi

    yep we going to call that a bug :-( the code was using the name property instead of the alias.

    but it's just been fixed for the next release https://github.com/KevinJump/uSync/issues/110

    Kevin

  • Mark Wemekamp 56 posts 336 karma points
    Jan 16, 2017 @ 15:48
    Mark Wemekamp
    0

    Wow that was fast :)

    Any idea on when you will be releasing the new version?

  • Kevin Jump 991 posts 5547 karma points mvp c-trib
    Jan 16, 2017 @ 15:56
    Kevin Jump
    0

    caught me at the right time :)

    In general I am trying to to regular releases for the little fixes added together, mainly because the testing takes a little while each release. So in theory the end of the month.

    But i am planning in putting a pre-release version on nuget in the next day or so because in theory all the changes are minor, so it shouldn't be to big a update.

  • Kevin Jump 991 posts 5547 karma points mvp c-trib
    Jan 16, 2017 @ 16:05
    Kevin Jump
    1

    Hi,

    I've pushed a pre-release beta version of uSync.Core out which has a fix for this in it.

    Install-Package uSync.Core -Pre
    

    there will be a full release prob end of the month - but at the moment there are only very minor things changed in uSync.Core so using the pre-release versions should be fine.

    Kevin

  • Kevin Jump 991 posts 5547 karma points mvp c-trib
    Jan 20, 2017 @ 13:49
    Kevin Jump
    1

    Hi

    The latest release of uSync has gone out today (v3.3.1) and it contains the fixes for this.

    PM> update-package uSync 
    

    or download the package from our

    should apply the changes and the dashboard should report v3.3.1 and (5.6.1 for core)

    You will need to re-save any member types for the settings to be written to disk for the import to happen

    Kevin

  • Mark Wemekamp 56 posts 336 karma points
    Jan 20, 2017 @ 13:55
    Mark Wemekamp
    0

    Awesome Kevin, thanks for the great support #h5yr

Please Sign in or register to post replies

Write your reply to:

Draft