← Back to team overview

dhis2-devs team mailing list archive

[Bug 1577511] [NEW] javascript embedding does not resolve

 

Public bug reported:

Affects latest of both 2.22 and 2.23

When you click the embed button in pivot table, the generated HTML fails
to load the jquery/javascript resources because the links appear to be
invalid.

<script src="//dhis2-cdn.org/v223/ext/ext-all.js"></script>
<script src="//dhis2-cdn.org/v223/plugin/table.js"></script>

Here is what happens when I try to load a page with the html generated:

file://dhis2-cdn.org/v223/ext/resources/css/ext-plugin-gray.css Failed to load resource: net::ERR_FILE_NOT_FOUND
file://dhis2-cdn.org/v223/ext/ext-all.js Failed to load resource: net::ERR_FILE_NOT_FOUND
file://dhis2-cdn.org/v223/plugin/table.js Failed to load resource: net::ERR_FILE_NOT_FOUND
testing123.html:13 Uncaught ReferenceError: Ext is not defined

** Affects: dhis2
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1577511

Title:
  javascript embedding does not resolve

Status in DHIS:
  New

Bug description:
  Affects latest of both 2.22 and 2.23

  When you click the embed button in pivot table, the generated HTML
  fails to load the jquery/javascript resources because the links appear
  to be invalid.

  <script src="//dhis2-cdn.org/v223/ext/ext-all.js"></script>
  <script src="//dhis2-cdn.org/v223/plugin/table.js"></script>

  Here is what happens when I try to load a page with the html
  generated:

  file://dhis2-cdn.org/v223/ext/resources/css/ext-plugin-gray.css Failed to load resource: net::ERR_FILE_NOT_FOUND
  file://dhis2-cdn.org/v223/ext/ext-all.js Failed to load resource: net::ERR_FILE_NOT_FOUND
  file://dhis2-cdn.org/v223/plugin/table.js Failed to load resource: net::ERR_FILE_NOT_FOUND
  testing123.html:13 Uncaught ReferenceError: Ext is not defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1577511/+subscriptions