Copied to clipboard

Flag this post as spam?

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


  • Trevor Loader 199 posts 256 karma points
    Oct 10, 2011 @ 00:14
    Trevor Loader
    0

    MacroEngines Error

    Hey Anthony,

    The umbraco core for 4.7.1 has changed and is causing issues with uBlogsy 2.0 Beta.

    Specifically, "Method not found: umbraco.MacroEngines.DynamicNodeList.get_Items()".

    I get this error with 4.7.1 but if I rollback just umbraco.MacroEngine.dll to an earlier pre 4.7.1 nightly it works. 

    Cheers

    Trevor

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Oct 10, 2011 @ 16:41
    Anthony Dang
    0

    Cheers.

    2.0 was built before 4.7.1 came out.

     

  • Trevor Loader 199 posts 256 karma points
    Oct 10, 2011 @ 17:06
    Trevor Loader
    0

    Also as an aside...you cannot install uBlogsy on an existing site if you've manually created a datatype (or installed any other package that creates a datatype) as your code CreateMonthNameWithSelectedFormat and CreateDayNameWithSelectedFormat tests for hardcoded prevalue ids (which will be different as these ids are auto incrementing identity columns in the database).  Thus in my database, id 34 does not represent "2 digit day numbers" its associated with a completely different datatype.  My id for this is 42.

    You might want to change it to look up the text string associated with the id and test on that instead.  Eg, id 34 42 = "2 digit day numbers"...then change the switch statement to test the string description.

    Obviously if someone was to then change the prevalue description, the code would break again...but this would be more unlikely I would have thought.

    Apart from that I'm loving your package...especially now its razor based as its even easier to customise.

    Thanks, Trevor.

     

Please Sign in or register to post replies

Write your reply to:

Draft