Copied to clipboard

Flag this post as spam?

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


  • Matt Taylor 873 posts 2086 karma points
    Feb 02, 2011 @ 11:52
    Matt Taylor
    0

    Compatible with 4.5?

    Is this package compatible with 4.5?

    Thanks, Matt

  • Matt Taylor 873 posts 2086 karma points
    Feb 02, 2011 @ 12:00
    Matt Taylor
    0

    I was told it was so I tried it and found it works fine.

  • Matt Taylor 873 posts 2086 karma points
    Feb 07, 2011 @ 13:54
    Matt Taylor
    0

    hmmm seems to be in a funny state now with a page just giving me...

    No User exists with ID -1

    System.ArgumentException: No User exists with ID -1

  • Chris Clarke 22 posts 43 karma points
    Feb 24, 2011 @ 21:11
    Chris Clarke
    0

    The 'No User exists ...' error is caused by the *.asc code looking up a User by Id and the Id is a string not an integer as it should be.
    Needs a 'int.Parse(.....)' round it.

    I found this error and fixed it in my copy but, for the life of me, can't find it again.

  • Matt Taylor 873 posts 2086 karma points
    Feb 24, 2011 @ 21:50
    Matt Taylor
    0

    Yes, I fixed it too, a bit differently though.

    Check this post. http://our.umbraco.org/forum/using/ui-questions/16932-Pending-Approvals-section-in-the-editor

    Matt

  • Chris A 11 posts 32 karma points
    Jun 15, 2011 @ 02:17
    Chris A
    0

    Re the "No user exists" error - yes, the bug is as described by Chris C above and is located in the Project's UmbracoHelper class.  Fix follows:

     

     

     

     

     

    internalstaticvoid PublishItem(int id, string

    userId)

    {

     

    Document document = newDocument

    (id);

    document.Publish(

     

    newUser(int.Parse(userId)));

     

     

    library.UpdateDocumentCache(document.Id);

    }

Please Sign in or register to post replies

Write your reply to:

Draft