Skip to content

#12232: Validate catalog service credentials before saving to prevent silent failures & misleading errors#12233

Open
mahmoudadel54 wants to merge 1 commit intogeosolutions-it:masterfrom
mahmoudadel54:enhance_12232
Open

#12232: Validate catalog service credentials before saving to prevent silent failures & misleading errors#12233
mahmoudadel54 wants to merge 1 commit intogeosolutions-it:masterfrom
mahmoudadel54:enhance_12232

Conversation

@mahmoudadel54
Copy link
Copy Markdown
Contributor

@mahmoudadel54 mahmoudadel54 commented Apr 8, 2026

Description

This PR introduces real-time credential validation for authenticated catalog services. Previously, invalid credentials were accepted silently, leading to broken maps that non-admin users could not fix -if prevoisly configured-. Now, credentials are validated via a GetCapabilities request before being stored or saved, ensuring only valid configurations persist.

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • 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?

#12232

What is the new behavior?

2026-04-08.12-45-47.mp4
2026-04-08.12-46-44.mp4

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

…ving to prevent silent failures & misleading errors

Description:
- for authenticated services, add async credential check via WMS GetCapabilities request
- Show clear, localized error messages instead of silent failures in SecurityPopup
- Prevent invalid credentials from being stored or saved to maps
- Add unit tests and i18n translations (EN, IT, FR, ES, DE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validate catalog service credentials before saving to prevent silent failures & misleading errors

3 participants