Skip to content

[Bug]: DDRMenu stopped working after Upgrade to DNN 10.03.00 #7159

Description

@cklenk

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Upgraded DNN Site from 10.02.03 to 10.03.00 and DDR Menu no longer works

Steps to reproduce?

Navigate to any page using a DDR menu control and it won't load

Current Behavior

Errors loading DDR menu

Expected Behavior

Menu loads with no errors

Relevant log output

Message:Cannot deserialize type 'DotNetNuke.Entities.Users.UserProfile' because it contains property 'IsDirty' which has no public setter.

StackTrace:

InnerMessage:Cannot deserialize type 'DotNetNuke.Entities.Users.UserProfile' because it contains property 'IsDirty' which has no public setter.

InnerStackTrace:

   at System.Xml.Serialization.TypeScope.GetSettableMembers(StructMapping mapping, ArrayList list)
   at System.Xml.Serialization.TypeScope.GetSettableMembers(StructMapping structMapping)
   at System.Xml.Serialization.XmlSerializationReaderILGen.WriteLiteralStructMethod(StructMapping structMapping)
   at System.Xml.Serialization.XmlSerializationReaderILGen.GenerateMethod(TypeMapping mapping)
   at System.Xml.Serialization.XmlSerializationILGen.GenerateReferencedMethods()
   at System.Xml.Serialization.XmlSerializationReaderILGen.GenerateEnd(String[] methods, XmlMapping[] xmlMappings, Type[] types)
   at System.Xml.Serialization.TempAssembly.GenerateRefEmitAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence)
   at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
   at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace, String location, Evidence evidence)
   at System.Xml.Serialization.XmlSerializer..ctor(Type type, XmlAttributeOverrides overrides, Type[] extraTypes, XmlRootAttribute root, String defaultNamespace, String location, Evidence evidence)
   at DotNetNuke.Web.DDRMenu.DNNCommon.Utilities.SerialiserFor(Type t)
   at DotNetNuke.Web.DDRMenu.TemplateEngine.TokenTemplateProcessor.Render(Object source, HtmlTextWriter htmlWriter, TemplateDefinition liveDefinition)
   at DotNetNuke.Web.DDRMenu.MenuBase.Render(HtmlTextWriter htmlWriter)
   at DotNetNuke.Web.DDRMenu.SkinObject.Render(HtmlTextWriter writer)

Anything else?

No response

Affected Versions

10.3.0 (latest release)

What browsers are you seeing the problem on?

Chrome

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions