sitmun / sitmun-admin-app

Administration application for the SITMUN system.
European Union Public License 1.2
0 stars 0 forks source link

Service grid. Error when editing the CRS #153

Open codinachssm opened 8 months ago

codinachssm commented 8 months ago

Describe the Bug

When the supported SRS of a service is modified directly in the list of services, it is sent to the service as a string instead of an array.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Servei.
  2. Find a service with an empty Projection.
  3. Set the projection to EPSG:25831.
  4. Save.
  5. See the error: 422 - Unprocessable entity. An array was expected in the property supportedSRS.

Expected Behavior

The supportedSRS property should be treated as an array. Input should be transformed into an array by splitting the string using the delimiter ,.

Screenshots

image

fjlopez commented 3 months ago

@codinachssm the bug is now clearly identified.