[FIXED] [#1616] [4.7.1] Fails to retrieve resource(s) for CartesianChart when cleanResourceUrl="false" in Ext.Net 3.3.0

  1. #1

    [FIXED] [#1616] [4.7.1] Fails to retrieve resource(s) for CartesianChart when cleanResourceUrl="false" in Ext.Net 3.3.0

    We have an issue with the CartesianChart. As far as I can see it tries to retrieve the Draw.js from "Ext.Net.dll" resources but failes to do this. To reproduce this:
    - Create new web forms project
    - Add "Ext.Net.Mvc" nuget (use MVC because of migration)
    - Set cleanResourceUrl="false" in web.config
    - Add example

    Got to the page and you will see in browser developers tools that it failed to retrieve resource(s).

    Ext.Net.Mvc: 3.3.0
    .NET Framework: 4.7.2

    <extnet theme="Default" licenseKey="..." cleanResourceUrl="false" />
    Web forms page:
    <%@ Page Language="C#" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!DOCTYPE html>
    <head runat="server">
        <title>Ext.NET Example</title>
        <ext:ResourceManager runat="server" />
        <ext:Viewport runat="server" Layout="FitLayout">
                <ext:CartesianChart runat="server">
    GET http://localhost:55463/WebResource.axd?d=kJjvWb_bSJbjV0lkEyQuumYiKPSDOgj_rH_LM8CeYyR2CtPW8BuRgjPT33XPdb61sKLHMnMc0UKH9peXXUanZGVDZ2zM2ITGkAm4M2o6HXe4x8v8lmuQCc1aTG_CeXY_VgAL4x_cLuIEBEM56upI5w2&t=635912129760000000 net::ERR_ABORTED 404 (Not Found)
    Windows log:
    Event message: An error occurred processing a web or script resource request. The requested resource 'pExt.Net|Ext.Net.Build.Ext.Net.extnet.src.draw.Draw.js' does not exist or there was a problem loading it.
    Last edited by fabricio.murta; Feb 20, 2019 at 6:43 AM.
  2. #2
    Hello @mturnhout!

    Thanks for reporting the issue, we could reproduce it down the path to the current version of Ext.NET.

    As far as your example is concerned, the resource missed is the Ext.draw.* override bundle, fixes from Ext.NET to address issues Sencha/ExtJS didn't fix themselves.

    The length is not too big so all you might need to do is just load the page with cleanResourceUrl="true" (you can set this at your aspx ResourceManager level, not just web.config), then copy the response contents of what reads something like http://mydomain.com/extnet/src/draw/...61553524943931.

    Then just paste it within a <script/> block within your webpage and you should have the override in place as if you were loading the page with a supported cleanResourceUrl="true".

    There may be other resources missing depending on the content of the page, it looks like this would include overrides introduced from version 3.x onwards -- when the whole override URL is introduced; not for existing overrides. More investigation should take place before we can say anything else about this.

    We've logged the issue under #1616 in our bug tracking system, and will post an update here as soon as we get it fixed!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Hello again!

    The issue has just been fixed in Ext.NET code. Unfortunately, the fix will only go live to Ext.NET 4, in the next release expected to be 4.8.0.

    Thanks for reporting the issue, and I hope the workaround works for you until the time you can upgrade to v4!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 4
    Last Post: Oct 16, 2017, 5:18 PM
  2. Replies: 4
    Last Post: Dec 23, 2014, 6:34 PM
  3. [CLOSED] ext.net resource
    By Steven4 in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 29, 2013, 7:08 PM
  4. Replies: 2
    Last Post: Jun 21, 2012, 11:51 PM
  5. [CLOSED] /coolite folder and CleanResourceUrl="false"
    By Justin_Wignall in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 20, 2009, 8:06 AM

Tags for this Thread

Posting Permissions