qooxdoo / qooxdoo

qooxdoo - Universal JavaScript Framework
http://qooxdoo.org
Other
769 stars 262 forks source link

Correct path to q-library within jsFiddle examples (BZ#7849) #7882

Closed qx-bug-importer closed 8 years ago

qx-bug-importer commented 11 years ago

Richard Sternagel (@rsternagel) wrote:

The current version of the API Viewer for qx.Website uses a wrong path to the q library, which results in all examples not working.

Open a jsFiddle example on "Current": http://demo.qooxdoo.org/current/website-api/

IS: http://demo.qooxdoo.org/*devel*/framework/q-3.0.1.min.js SHOULD: http://demo.qooxdoo.org/*current*/framework/q-3.0.1.min.js

"Devel" is okay: http://demo.qooxdoo.org/devel/website-api/

=> http://demo.qooxdoo.org/devel/framework/q-3.1.min.js

assigned to Thomas Herchenroeder (@thron7)

qx-bug-importer commented 11 years ago

Andreas Ecker (@ecker) wrote:

* BZ#7865 has been marked as a duplicate of this bug. *

qx-bug-importer commented 11 years ago

Thomas Herchenroeder (@thron7) wrote:

Copied the q-3.0.min.js q-3.0.1.min.js files to the 'devel' demo path on our servers, so the links in jsFiddle samples work again.

We need to maintain this until we consider released versions of the Website API viewer that have the 'devel' links (i.e. 3.0 and 3.0.1) as outdated. This means that when we clean up the 'devel' path on our staging server, the older q library files need to be re-applied to the demo/devel/framework path. Otherwise, they also get purged on the production server with the next publish-production.

Fixed the code in Website API viewer, to always use a versioned URL path for the q library link in the samples. This also works for devel versions, as every devel version is aliased to the upcoming version number on the demo site. So the URL scheme is now

http://demo.qooxdoo.org/<qx.version>/framework/q-<qx.version>.min.js

master: f1a881758 3.0.x: 4a5d80d

qx-bug-importer commented 10 years ago

Martin Wittemann (@wittemann) wrote:

Closed all bugs already shipped with a release.