I was having problems with rendering my picked media. If the media had a dash, it was removed when accessing the value in Razor as a DynamicXml object.
I was able to get the value by accessing the raw xml but not the dynamic xml object.
I looked throught the source for 4.7.1 and saw that the umbraco.MacroEngines.DynamicXml class has a method called "StripDashesInElementOrAttributeNames". It looks like this method will not strip dashes if the body is wrapped in quotes. I am not sure if this is a problem since the data for the S3 file is stored as a CDATA tag.
This method is called by umbraco.MacroEngines.DynamicNode.ConvertPropertyValueByDataType().
So, I don't know if this is something that should be updated in UmbracoCore or in the way UMP stores the media.
Sorry I haven't had time to look into this issue and your previous bug report yet. I'm hoping to get time to test the S3 and a couple of other providers with Umbraco 4.7.1 soonish.
Dashes in file path are not supported
I was having problems with rendering my picked media. If the media had a dash, it was removed when accessing the value in Razor as a DynamicXml object.
I was able to get the value by accessing the raw xml but not the dynamic xml object.
I looked throught the source for 4.7.1 and saw that the umbraco.MacroEngines.DynamicXml class has a method called "StripDashesInElementOrAttributeNames". It looks like this method will not strip dashes if the body is wrapped in quotes. I am not sure if this is a problem since the data for the S3 file is stored as a CDATA tag.
This method is called by umbraco.MacroEngines.DynamicNode.ConvertPropertyValueByDataType().
So, I don't know if this is something that should be updated in UmbracoCore or in the way UMP stores the media.
Does anyone have any suggestions?
Hi Justin,
Sorry I haven't had time to look into this issue and your previous bug report yet. I'm hoping to get time to test the S3 and a couple of other providers with Umbraco 4.7.1 soonish.
- Morten
is working on a reply...