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

GeoProcessing - enhance user feedback when certain errors occurs #9603

Closed
6 tasks
MV88 opened this issue Oct 16, 2023 · 1 comment · Fixed by #9621
Closed
6 tasks

GeoProcessing - enhance user feedback when certain errors occurs #9603

MV88 opened this issue Oct 16, 2023 · 1 comment · Fixed by #9621

Comments

@MV88
Copy link
Contributor

MV88 commented Oct 16, 2023

Description

We have to improve user notification. In cases where the process raise an exception we should also report it in the popup message. For example when the user tries to intersect a polygon (Intersection layer) with a point (Source layer) the WPS process returns the following exception where a message important for the user that is now not handled (also for this a new issue should be opened on the MS side @MV88 to be implemented now if the effort is small) assigned to @MV88:

<ows:ExceptionText>
  Process failed during execution
  java.lang.IllegalArgumentException: First feature collection must be polygonal or linear
  First feature collection must be polygonal or linear
</ows:ExceptionText>

Corresponding request to this output is here
Full error response - point layer as source layer.txt

What kind of improvement you want to add? (check one with "x", remove the others)

  • Minor changes to existing features
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Other useful information

@MV88
Copy link
Contributor Author

MV88 commented Oct 19, 2023

this is solved by #9621, and cannot be reproduced anymore. due to a preventive check

@ElenaGallo ElenaGallo self-assigned this Oct 19, 2023
@ElenaGallo ElenaGallo added the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Oct 19, 2023
@tdipisa tdipisa removed the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment