-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GeoSuite Export Tool: fix layer config priority #958
GeoSuite Export Tool: fix layer config priority #958
Conversation
Also merge SBK-38 updates and prep for SBK-40/separate WFS selection and link state for all documents download links.
Fix regression on projects WFS search introduced by SBK-87/SBK-89
* Avoid require of active search layer, since SBK does not want to search boreholes or projects via HAJK search tool. * Fix admin error handling on persistence errors. * Remove unused local model variable
Solves a regression from SBK-102 where tool settings and defaults got higher priority than layer settings in the model config. This is incorrect for WFS vector layer sources. After the fix it is again possible to override WFS service URL etc. via layers.json as expected, e.g. using HAJK admin GUI for layer administration.
PR commit history looks a little dodgy... But Sweco's fork has been updated with HAJK's latest code for master + develop and HAJK's upstream develop [de113f0] was also merged into the feature branch used as this PR's source. The last commit is the significant change, all others are already in HAJK develop (see e.g. files changed). We will create a new feature branch next time to spare you this administrative weirdness! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im gonna trust you with this one
Fix regression in layer config prio introduced in previous switch of GeoSuite export plug-in from search layers to vector layers as WFS sources.
Revert Object.assign priority to let all vector layer properties override any plug-in or default settings.
Closes [#957]