Copied to clipboard

Flag this post as spam?

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


  • Michael Wulff Nielsen 11 posts 74 karma points
    Sep 14, 2012 @ 14:50
    Michael Wulff Nielsen
    0

    4.9 breaks inline xslt.

    I just upgraded a site to umbraco 4.9, and now inline xslt transformations no longer work. No output is returned and the following error shows up in the debug trace.

    ItemRenderer   Error rendering Item 1 (NodeId '' : headline).
    Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "Umbraco.Web.umbraco.templateControls.Resources.resources" was correctly embedded or linked into assembly "umbraco" at compile time, or that all the satellite assemblies required are loadable and fully signed.
      at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
      at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
      at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
      at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
      at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
      at Umbraco.Web.umbraco.templateControls.Resources.get_InlineXslt() in C:\Users\mwn\Desktop\umbraco\src\Umbraco.Web\umbraco.presentation\umbraco\templateControls\Resources.Designer.cs:line 81
      at umbraco.presentation.templateControls.ItemRenderer.XsltTransform(String xpath, String itemData, Boolean disableEscaping) in C:\Users\mwn\Desktop\umbraco\src\Umbraco.Web\umbraco.presentation\umbraco\templateControls\ItemRenderer.cs:line 236
      at umbraco.presentation.templateControls.ItemRenderer.Render(Item item, HtmlTextWriter writer) in C:\Users\mwn\Desktop\umbraco\src\Umbraco.Web\umbraco.presentation\umbraco\templateControls\ItemRenderer.cs:line 61

    The control that triggered this error worked in 4.8, it looks like this:

     

    <h2><umbraco:Item ID="Item1" Field="headline" runat="server" Xslt="frie:FinalizeText({0})" XsltDisableEscaping="true" /></h2>

    Somehow 4.9 breaks the inline xslt, insights and help is welcome.

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Sep 14, 2012 @ 15:35
Please Sign in or register to post replies

Write your reply to:

Draft