November Happy Hour will be moved to Thursday December 5th.

Hjalmar Moa
Sep 2, 2009
  3925
(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
Optimizely SaaS CMS + Coveo Search Page

Short on time but need a listing feature with filters, pagination, and sorting? Create a fully functional Coveo-powered search page driven by data...

Damian Smutek | Nov 21, 2024 | Syndicated blog

Optimizely SaaS CMS DAM Picker (Interim)

Simplify your Optimizely SaaS CMS workflow with the Interim DAM Picker Chrome extension. Seamlessly integrate your DAM system, streamlining asset...

Andy Blyth | Nov 21, 2024 | Syndicated blog

Optimizely CMS Roadmap

Explore Optimizely CMS's latest roadmap, packed with developer-focused updates. From SaaS speed to Visual Builder enhancements, developer tooling...

Andy Blyth | Nov 21, 2024 | Syndicated blog

Set Default Culture in Optimizely CMS 12

Take control over culture-specific operations like date and time formatting.

Tomas Hensrud Gulla | Nov 15, 2024 | Syndicated blog

I'm running Optimizely CMS on .NET 9!

It works 🎉

Tomas Hensrud Gulla | Nov 12, 2024 | Syndicated blog

Recraft's image generation with AI-Assistant for Optimizely

Recraft V3 model is outperforming all other models in the image generation space and we are happy to share: Recraft's new model is now available fo...

Luc Gosso (MVP) | Nov 8, 2024 | Syndicated blog