Closed gnerred closed 10 years ago
The issue #548 should probably also be fixed in the same time.
It looks like OWSCommon/v_1_0_0.js
is missing in the build or actually that it's not included anymore.
It's included when you add the QueryBuilder which includes WFS/v1_1_0.js
, which itself includes WFST/v1_1_0.js
, which finally includes OWSCommon/v_1_0_0.js
.
I still don't know why this version is required though.
As a workaround, you can explicitely add OWSCommon/v1_0_0.js
in app.cfg
.
Shouldn't this dependence by added here ? https://github.com/openlayers/openlayers/blob/master/lib/OpenLayers/Format/WMSCapabilities/v1.js#L7-L9 or in our WMSBrowser plugin ?
Many thanks @pgiraud, that (finally) solves my problem !!
Will be fixed by https://github.com/openlayers/openlayers/pull/1165
Related to: https://github.com/openlayers/openlayers/pull/1186 + https://github.com/openlayers/openlayers/pull/1165 (with an include in place of requires)
To reproduce :
1°/ Go to http://map.cartoriviera.ch 2°/ Try to add an external WMS layer -> js error
Thanks to take 3 or 4 hours to analyse and try to solve this bug.