Copied to clipboard

Flag this post as spam?

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


  • Heather Floyd 494 posts 660 karma points MVP c-trib
    Nov 28, 2018 @ 19:17
    Heather Floyd
    0

    Question about SleepyMedia.DateFolders

    This message is directed to Craig Mayers about his package "SleepyMedia.DateFolders" ...

    (Craig, you should perhaps enable the forum on your package - https://our.umbraco.com/packages/developer-tools/sleepymediadatefolders/)

    I was wondering if you had sourcecode available for this? I noticed a bug.

    When saving a root content node, an error is thown:

    An error occured
    Object reference not set to an instance of an object.
    
    Exception Details
    System.NullReferenceException: Object reference not set to an instance of an object.
    Stacktrace
    at SleepyMedia.DateFolders.DateFoldersEventHandler.GetParent(IContent rootNode)
       at SleepyMedia.DateFolders.DateFoldersEventHandler.ContentService_Published(IPublishingStrategy sender, PublishEventArgs`1 e)
    

    I'd be happy to fix this, if you can provide sourcecode access...

    Otherwise I might need to utilize a different package or write my own.

    Thanks!

  • Craig Mayers 164 posts 505 karma points
    Jan 16, 2019 @ 15:25
    Craig Mayers
    0

    Hi Heather,

    Apologies for the super late reply!

    Forum has been enabled now ;)

    Is this still an issue for you OR did you end using a different package in the end?

    Thanks

    Craig

  • Heather Floyd 494 posts 660 karma points MVP c-trib
    Jan 16, 2019 @ 21:48
    Heather Floyd
    0

    Hi Craig, I ended up using some other code I found, and editing it. Once I put it up on GitHub, I'll put a link here.

Please Sign in or register to post replies

Write your reply to:

Draft