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

If a the url of service catalog is defined as array when you open it the application crash #10530

Closed
1 task done
MV88 opened this issue Sep 4, 2024 · 0 comments · Fixed by #10531 or #10535
Closed
1 task done

Comments

@MV88
Copy link
Contributor

MV88 commented Sep 4, 2024

Description

it crash because this gets trigger when editing the catalog and an array is not accepted, so we have to pass the first element of the array in case of array to prevent the crash to happen

in the onChangeUrl of defaultservice the value is an array, but when the onchange is triggered, the output value becomes comma separated string, so there we do not have the problem

How to reproduce

  • create a service with an array of urls (also same url) in the url property
  • open the map with this service and try to edit it

Expected Result

Current Result

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

@MV88 MV88 added this to the 2024.02.00 milestone Sep 4, 2024
@MV88 MV88 self-assigned this Sep 4, 2024
MV88 added a commit to MV88/MapStore2 that referenced this issue Sep 4, 2024
MV88 added a commit to MV88/MapStore2 that referenced this issue Sep 6, 2024
@MV88 MV88 added the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Sep 6, 2024
@tdipisa tdipisa removed the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Sep 6, 2024
@ElenaGallo ElenaGallo self-assigned this Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment