Skip to content
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

Merged
merged 74 commits into from
Dec 15, 2021

Conversation

sweco-semara
Copy link
Contributor

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]

sweco-secoma and others added 30 commits October 7, 2021 13:52
Also merge SBK-38 updates and prep for SBK-40/separate WFS selection and link state for all documents download links.
sweco-semara and others added 25 commits November 25, 2021 14:26
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.
@sweco-semara
Copy link
Contributor Author

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!

Copy link
Member

@Hallbergs Hallbergs left a 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

@Hallbergs Hallbergs merged commit 43d2eb7 into hajkmap:develop Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants