Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Justin Spradlin 137 posts 345 karma points
    Oct 08, 2011 @ 17:54
    Justin Spradlin
    0

    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?

     

  • Morten Christensen 596 posts 2770 karma points admin hq c-trib
    Oct 10, 2011 @ 11:07
    Morten Christensen
    0

    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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies