I have a custom property, which contains a simple multiline textbox. This is a legacy property which has some backend processing on Save Data. This property was working fine in EpiServer 6 and also worked fine after upgraded to 7. Now I am facing a problem. Whenever the user enters single quote (') within this property, it saves properly, but when the user re loads the property by clicking the "..." button in edit mode, it throws the following error. I tried to escape the ' in the Get/Set method of the Value of the property, but I could not get rid of this problem. Anybody has a solution for this? Thanks
Unterminated string. Expected delimiter: ". Path '', line 1, position 63. 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: Newtonsoft.Json.JsonReaderException: Unterminated string. Expected delimiter: ". Path '', line 1, position 63. 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 have a custom property, which contains a simple multiline textbox. This is a legacy property which has some backend processing on Save Data. This property was working fine in EpiServer 6 and also worked fine after upgraded to 7. Now I am facing a problem. Whenever the user enters single quote (') within this property, it saves properly, but when the user re loads the property by clicking the "..." button in edit mode, it throws the following error. I tried to escape the ' in the Get/Set method of the Value of the property, but I could not get rid of this problem. Anybody has a solution for this? Thanks
Unterminated string. Expected delimiter: ". Path '', line 1, position 63. 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: Newtonsoft.Json.JsonReaderException: Unterminated string. Expected delimiter: ". Path '', line 1, position 63.
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: