MapStore2
MapStore2 copied to clipboard
#7672 Ability to fix table widget in case if attribute become not available
Description
User should be able to fix table widget in case if one of the attributes become not available on the backend. This PR introduces minor changes to the attributes list to list problematic attributes and allow to deselect them and update widget configuration to fix it.
Please check if the PR fulfills these requirements
- [x] The commit message follows our guidelines: https://github.com/geosolutions-it/MapStore2/blob/master/CONTRIBUTING.md
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
What kind of change does this PR introduce? (check one with "x", remove the others)
- [x] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Other... Please describe:
Issue
What is the current behavior? #7672
What is the new behavior?
- Problematic attribute is in the list.
- Deselecting it will make it disappear right away.
- Sorting of the data will be reset if widget had sorting by not available attribute.
Breaking change
Does this PR introduce a breaking change? (check one with "x", remove the other)
- [ ] Yes, and I documented them in migration notes
- [x] No