Copied to clipboard

Flag this post as spam?

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


  • Marcel Berberich 11 posts 33 karma points
    Aug 05, 2011 @ 15:31
    Marcel Berberich
    0

    StatusItem cannot be serialized

    We just installed Courier 2.1.1 but receive the following exception from the Courier.asmx (which inturn gets a 404 in the backend when deploying)

    Umbraco.Courier.UI.Application.StatusItem cannot be serialized because it does not have a parameterless constructor. 

     

    Using Redgate's .NET Reflector we found this:

    public class StatusItem
    {
        // Fields
        public DateTime DateTime;
        public string Id;
        public ItemIdentifier ItemId;
        public string Message;
    
        // Methods
        public StatusItem(string id, string message)
        {
            this.Id = id;
            this.Message = message;
        }
    }
    

    So the constructor is missing...

    Can you please provide a fix for this?

    Regards

  • Per Ploug 865 posts 3491 karma points MVP admin
    Aug 08, 2011 @ 13:26
    Per Ploug
    0

    Are you calling the courier api through some of your own code or is this using the standard UI? 

    Cannot seem to replicate that behavior here

Please Sign in or register to post replies

Write your reply to:

Draft