Copied to clipboard

Flag this post as spam?

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


  • Jeric 122 posts 192 karma points
    May 15, 2013 @ 13:47
    Jeric
    0

    Umbraco 4.9.1

    Hi,

    I'm using Umbraco 4.9.1 and I've installed the uSync for umbraco4 and had tried to create a new Doc Type to see if it saved everything into the uSync folder at root. 

    The issue is nothing happen, I've tried to change the uSyncSettings.config with "write=true". But still nothing happens. My uSync settings as follow

      <usync read="true" write="true" attach="true" folder="~/uSync/" archive="~/uSync.Archive" versions="true" preserve="false">

    Any help will be much appreciated.

    Thanks

  • Jonny Irwin 91 posts 153 karma points
    May 15, 2013 @ 15:58
    Jonny Irwin
    1

    It could be a number of things:

    1. Try setting attach to false in the config - there is a bit of code in usync that basically says if the version is less that 4.11.5 then it will save to disk every time - which I found was overwriting any files that I was wanting to be deployed.  Setting attach to false gets round this.
    2. I'm not sure what version it happened in, but umbraco event handlers used to inherit from ApplicationBase, but in more recent versions (again, not sure i this was the case by 4.9), it has changed and uSync now implements IApplicationEventHandler. This may mean that it may not work with 4.9 without modification.  I made a modified version to work with 4.7.2 - all it takes is changing of namespaces etc. and a recompile.
    EDIT: on re-reading your post, I see you aren't trying to deploy, just to create the xml files in the first place, in this case my money is on the 2nd suggestion above.
  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    May 16, 2013 @ 20:16
    Kevin Jump
    0

    I think it's number 2 - uSync uses IApplicationHander from memory that only works from v 4.10 onwards (i think)

     

  • Jeric 122 posts 192 karma points
    May 17, 2013 @ 10:40
    Jeric
    0

    Ic. I'll try to upgrade the Umbraco version then. thanks

  • Ronald Steen 3 posts 23 karma points
    Jun 14, 2013 @ 16:05
    Ronald Steen
    0

    Any results on getting it to work on 4.9? Or did you just upgrade?

Please Sign in or register to post replies

Write your reply to:

Draft