This project is read-only.
1

Resolved

Empty PropertyXhtmlString causing exception

description

ETF overwrites episerver default renderer for PropertyXhtmlString and if the property is empty i get an exception
 
[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.Parameter name: index]
TemplateFoundation.WebControls.PropertyControls.PropertyXhtmlStringControl.Render(HtmlTextWriter writer)

comments

LeonRadley wrote May 26, 2011 at 10:46 AM

Same goes for LongString

tednyberg wrote May 26, 2011 at 4:50 PM

Hi! Which ETF version are you using? Please look at the properties of the DLL file and check the "Product version" attribute. Thanks!

LeonRadley wrote May 27, 2011 at 6:56 AM

I'm using version 1.2.0.1

LeonRadley wrote May 27, 2011 at 9:55 AM

The problem seems to be with <EPiServer:Property, if i changed to use <ETF:Property it worked..

tednyberg wrote May 27, 2011 at 10:47 AM

Setting this as "Fixed" as it's expected behavior. ETF sites should use ETF:Property instead of EPiServer:Property.

tednyberg wrote Jun 15, 2011 at 9:32 AM

The original bug has now been fixed, it will be included in the next updated version of ETF 1.2.

wrote Feb 13, 2013 at 11:33 PM

wrote May 16, 2013 at 5:25 AM

wrote May 16, 2013 at 5:25 AM

wrote Jun 14, 2013 at 8:45 AM