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.
Compatible with 4.5?
Is this package compatible with 4.5?
Thanks, Matt
I was told it was so I tried it and found it works fine.
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
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.
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
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);
}
is working on a reply...