Umbraco 4.9.0 Error inserting macro into Richtext Editor
I have a new project using version 4.9.0 for the first time. I'm getting an error when I try and insert a Razor macro into the Richtext Editor. The error appears in the "Click to Add Macro" popup window when I click the OK button.
This is a very simple macro and a very simple content page. There is a pageName property on the page but there is nothing special about it. Something I've done a zillion times, but probably the first time iIve inserted a macro in the RTE using 4.9.0. Is this a known bug?
Server Error in '/' Application.
Item has already been added. Key in dictionary: 'pageName' Key being added: 'pageName'
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.ArgumentException: Item has already been added. Key in dictionary: 'pageName' Key being added: 'pageName'
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.
I'm getting the exact same thing. Doesn't matter if it's an XSLT or Razor macro. Is this a known issue for 4.9.0?
Server Error in '/' Application.
Item has already been added. Key in dictionary: 'pageName' Key being added: 'pageName'
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.ArgumentException: Item has already been added. Key in dictionary: 'pageName' Key being added: 'pageName'
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.
Renaming my document type property alias pageName to something else did eliminate this error. The insert macro code must use pageName and thus creates the conflict error.
Umbraco 4.9.0 Error inserting macro into Richtext Editor
I have a new project using version 4.9.0 for the first time. I'm getting an error when I try and insert a Razor macro into the Richtext Editor. The error appears in the "Click to Add Macro" popup window when I click the OK button.
This is a very simple macro and a very simple content page. There is a pageName property on the page but there is nothing special about it. Something I've done a zillion times, but probably the first time iIve inserted a macro in the RTE using 4.9.0. Is this a known bug?
I'm getting the exact same thing. Doesn't matter if it's an XSLT or Razor macro. Is this a known issue for 4.9.0?
Server Error in '/' Application.
Item has already been added. Key in dictionary: 'pageName' Key being added: 'pageName'
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.ArgumentException: Item has already been added. Key in dictionary: 'pageName' Key being added: 'pageName'
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:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Fixed the problem, changed my doctype property alias "pageName" to "pageNames".
Still could be a bug though.
Renaming my document type property alias pageName to something else did eliminate this error. The insert macro code must use pageName and thus creates the conflict error.
is working on a reply...