Closed wumpz closed 3 months ago
Thanks for the info. @KaiVolland can you have a look at that?
Please check out v1.3.1.
Checked out version v1.3.2 but got another error:
wfsDataParser-ver-F01AD2C6AA7062E180003154A5AE61EE.js:2 @babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning.
(anonym) @ wfsDataParser-ver-F01AD2C6AA7062E180003154A5AE61EE.js:2
org.geoserver.wms.we…ata.StyleEditPage:1 Uncaught (in promise) Could not parse XML document: TypeError: Cannot read properties of undefined (reading 'element')
Maybe it has to do with other plugins like ysld, CSS plugins, ... installed?
Tested on Chrome and Edge (same engine --> same problem).
GeoStyler stops loading here:
To be complete, I have tested this with a GeoServer including these plugins:
all matching with GeoServer Version 2.25.1.
Hmm okay. I'll give this another try in the next days. Latest at the Codesprint next week.
I debugged a bit into it and i guess the error org.geoserver.wms.we…ata.StyleEditPage:1 Uncaught (in promise) Could not parse XML document: TypeError: Cannot read properties of undefined (reading 'element')
is related to this part of the wfs-parser.
I created a PR to make this more failsafe: https://github.com/geostyler/geostyler-wfs-parser/pull/588
I'll create a new release of the plugin once the wfs parser is updated.
@wumpz try again please: https://github.com/geostyler/geostyler-geoserver-plugin/releases/tag/v1.3.3 :crossed_fingers: :see_no_evil:
@KaiVolland Now GeoStyler starts. However, I have some remarks:
<ogc:Filter>
<And>
<ogc:PropertyIsEqualTo>
<ogc:Function name="dimension">
<ogc:Function name="geometry"/>
</ogc:Function>
<ogc:Literal>0</ogc:Literal>
</ogc:PropertyIsEqualTo>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>xxxx</ogc:PropertyName>
<ogc:Literal>3</ogc:Literal>
</ogc:PropertyIsEqualTo>
</And>
</ogc:Filter>
´´´
This is indeed a problem. I created a new issue as this is a diffrent topic: #156
within the style window I see some GeoStyler is starting using browser debugger I see some undefined useages within a forEach loop