RefreshInstruction class have only constructor with parameters:
namespace Umbraco.Core.Sync
{
public class RefreshInstruction
{
public RefreshInstruction(Guid refresherId, RefreshMethodType refreshType, Guid guidId, int intId, string jsonIds, string jsonPayload);
//
// Summary:
// Gets or sets the Guid data value.
public Guid GuidId { get; set; }
Umbraco.Core.Sync.RefreshInstruction cannot be serialized because it
does not have a parameterless constructor.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException:
Umbraco.Core.Sync.RefreshInstruction cannot be serialized because it
does not have a parameterless constructor.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: Umbraco.Core.Sync.RefreshInstruction
cannot be serialized because it does not have a parameterless
constructor.] System.Xml.Serialization.TypeDesc.CheckSupported()
+5296741 System.Xml.Serialization.TypeDesc.CheckSupported() +49 System.Xml.Serialization.TypeScope.GetTypeDesc(Type type, MemberInfo
source, Boolean directReference, Boolean throwOnError) +172
System.Xml.Serialization.XmlReflectionImporter.ImportMemberMapping(XmlReflectionMember
xmlReflectionMember, String ns, XmlReflectionMember[]
xmlReflectionMembers, Boolean rpc, Boolean openModel, RecursionLimiter
limiter) +70
System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(XmlReflectionMember[]
xmlReflectionMembers, String ns, Boolean hasWrapperElement, Boolean
rpc, Boolean openModel, RecursionLimiter limiter) +286
Sorry, the ctor change was an accidental change and made it into this release, a fix will be released by the end of this month in 7.3.1, you can track the logged issue here: http://issues.umbraco.org/issue/U4-7255
Webservice CacheRefresher.asmx caused error
Hello,
service http://localhost:59474/umbraco/webservices/CacheRefresher.asmx
Show error - see on the bottom of this notice.
RefreshInstruction class have only constructor with parameters:
And webservice contain this methods:
Where is the problem?
Thanks Petr
ERROR:
Sorry, the ctor change was an accidental change and made it into this release, a fix will be released by the end of this month in 7.3.1, you can track the logged issue here: http://issues.umbraco.org/issue/U4-7255
is working on a reply...