Try our conversational search powered by Generative AI!

Hjalmar Moa
Sep 2, 2009
  3854
(0 votes)

Odd behavoiur in the Longstring property

An oddity I just found is that the LongString property renders differently with the <episerver:property tag when the user is logged in or not. The evidence that made me react was some embedded &nbsp; in the text. these were encoded and thus invisible when the user was logged in.

I havn’t looked into the reasons for this but the solution for situations where it´s just a string to print is to use the xhtml-property with disabled editor controls.

This problem was tricky to notice because it´s common to require login for staging servers.

Sep 02, 2009

Comments

Sep 21, 2010 10:32 AM

Hi!

This is probably related to the EPiServer "Permisson for functions"-feature that can give any user or group all tools in the editor.

This changes the behaivor of Long String and XHtml string is rendered when you uncheck all editor tools for a property (when you want a clean text box and not rich text).

I have reported this as a defect a some time ago but I think it slipped...

/Fredrik

Sep 21, 2010 10:32 AM

Hjalmar, check your profile: Anual = annual, developper = developer ;-)
/ Mr Picky

Sep 21, 2010 10:32 AM

Seems I was a bit too quick creating the profile.... Thanks for the heads up.

Please login to comment.
Latest blogs
The downside of being too fast

Today when I was tracking down some changes, I came across this commit comment Who wrote this? Me, almost 5 years ago. I did have a chuckle in my...

Quan Mai | May 17, 2024 | Syndicated blog

Optimizely Forms: Safeguarding Your Data

With the rise of cyber threats and privacy concerns, safeguarding sensitive information has become a top priority for businesses across all...

K Khan | May 16, 2024

The Experimentation Process

This blog is part of the series -   Unlocking the Power of Experimentation: A Marketer's Insight. Welcome back, to another insightful journey into...

Holly Quilter | May 16, 2024

Azure AI Language – Sentiment Analysis in Optimizely CMS

In the following article, I showcase how sentiment analysis, which is part of the Azure AI Language service, can be used to detect the sentiment of...

Anil Patel | May 15, 2024 | Syndicated blog