Copied to clipboard

Flag this post as spam?

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


  • Barry Fogarty 493 posts 1129 karma points
    Sep 18, 2011 @ 16:15
    Barry Fogarty
    0

    Method not found: umbraco.MacroEngines.DynamicNodeList.get_Items()

    Hi Anthony, I wonder if you could guide me a little in this error I am getting after installing uBlogsy 1.35:

    Error loading Razor Script /uBlogsyShowPost.cshtml
    Method not found: 'System.Collections.Generic.List`1 umbraco.MacroEngines.DynamicNodeList.get_Items()'.

    I am pretty sure this is because this method is not a part of the nightly build of the umbraco.MacroEngines.dll.  I did a test and replaced back in my old DLL and the package worked fine.  Unfortunately, I need to use the new version as I am using datatypes (i.e. uComponents multi-url picker) that require the nightly build.

    I am thinking it should be just a method swap to use whatever the updated method of returning a list of Dynamic nodes is.  Unfortunately I havent been able to find it, I am not sure where I should be looking when poking around in the DLL.  Any suggestions of something to try?

    This should also ensure your package is compatible with the new MacroEngines build when it is made live :-)

  • precious 1 post 21 karma points
    Sep 18, 2011 @ 17:50
    precious
    0

    ask me later ask me later ask me later ask me later ask me later

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Sep 19, 2011 @ 19:41
    Sebastiaan Janssen
    0

    I also had an error with a recent nightly, it turned out that the "next post" and "previous post" link generation was causing this. I never fixed it and just removed those links. The rest seemed to work just fine.

    Maybe you should try the 2.0 beta instead?

  • Barry Fogarty 493 posts 1129 karma points
    Sep 19, 2011 @ 20:12
    Barry Fogarty
    0

    Thanks Sebastiaan, I will try what you suggest.  I was geting error is all the uBlogsy macros thoug, it seemed to be quite widespread.  I may try 2.0 - in your experience has it been relatively stable?  It is for a production blog system..

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Sep 20, 2011 @ 01:08
    Anthony Dang
    0

    Hey Barry

    Are you using umbraco 4.7.1 beta? I have that problem all over the place but it turns out that it is missing some dlls.

    I copied some dlls over from my 4.7.0 installation - don't ask me which ones they are though because I cant remember.

    If you figure this out I'd like to know.

     

  • Barry Fogarty 493 posts 1129 karma points
    Sep 20, 2011 @ 01:22
    Barry Fogarty
    0

    Nah just using the MacroEngines DLL from the 4.7.1 beta.  All other assemblies are 4.7.0 standard.  To test, I swapped back in the 4.7.0 standard MacroEngines DLL and uBlogsy worked again. 

    Have you tried grabbing a nightly, and just swapping the umbraco.MacroEngines.DLL in a test project?  THat seems to trigger it for me, that said I dunno if it is some other referencing issue in my project.  Would be good if you could corroborate the theory.  (And come up with a workaround :-)

    Nice one mate would be good to catch up soon.. you going to the festival thing in November?

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Sep 20, 2011 @ 10:23
    Sebastiaan Janssen
    0

    @barry Haven't tried 2.0 beta myself. The only problem I had was with the next/prev buttons and I fixed it by removing them from uBlogsyShowPost.cshtml (line 47 through 65).

  • Barry Fogarty 493 posts 1129 karma points
    Sep 20, 2011 @ 12:56
    Barry Fogarty
    0

    Thanks again Sebastiaan.  I am going to follow your advice.

    @Anthony, for your reference:

    v1.32 minimally suffers from this issue - only the methods that generate the Next/Prev links throw the exception: uBlogsyShowPost.cshtml (line 47 through 65).

    v1.35 suffers more widely - the majority of the sidebar macros throw the same error

    v2.0 beta behaves as of v1.35

    You can replicate this error by installing a fresh Umbraco 4.7.0, installing the uBlogsy package, and copying in a new nightly of umbraco.MacroEngines.dll

    If anyone else needs uBlogsy but is using a nightly of umbraco.MacroEngines.dll, my advice is to use v1.32 and comment out the offending code in uBlogsyShowPost.cshtml (line 47 through 65), as Sebasitaan advised me.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Sep 20, 2011 @ 15:13
    Anthony Dang
    0

    Thanks for the legwork Barry.

    I'll look into it. Hopefully I fix it before they release 4.7.1

     

     

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Sep 20, 2011 @ 19:18
    Anthony Dang
    0

    Barry, Cultive, I think it just required a rebuild. I found it really confusing because I couldnt get it to crash for me. It turned out that when I built my code when referencign the new umbraco files everything was ok.

    uBlogsy 1.36 is up:

    http://our.umbraco.org/FileDownload?id=3046

     

     

  • Barry Fogarty 493 posts 1129 karma points
    Sep 20, 2011 @ 23:52
    Barry Fogarty
    0

    Cheers Anthony.  I've hacked my install of 1.32 a fair bit now so I dont think I should go near it - but good to know for next time.  Cheers for sorting it out.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Sep 21, 2011 @ 00:11
    Anthony Dang
    0

    lol... ok.

     

     

  • Tomigaoka Krajicek 8 posts 28 karma points
    Sep 27, 2011 @ 23:26
    Tomigaoka Krajicek
    0

    Hi guys, mine installed is currently 1.32. How can I upgrade it to 1.36? Do I just need to unzip and replace all those uBlogsy files in my umbraco installation folder?

    Sorry newcomer in here.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Sep 28, 2011 @ 10:32
    Anthony Dang
    0

    Follow the upgrade instructions for each verision in between.

    The trickiest part is replacing the "DescendentsOrSelf" lines with NodeHelper method calls.

     

Please Sign in or register to post replies

Write your reply to:

Draft