You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating an area with "&" in its name, it is not possible to edit its load matrix with the front.
Steps to Reproduce
Create an area named "a&b"
Try to modify the load matrix associated to the area
See that it fails
Expected Behavior
It should be possible to edit the load matrix with the front.
Possible Solution
The problem is that the API used it this : /v1/studies/study_id/matrix?path=input/load/series/load_a&b
The & creates a new parameter in the API request which is b and path is only input/load/series/load_a, therefore the request fails.
The solution I see is to escape this character in the API path request.
Environment
Production
Staging
The text was updated successfully, but these errors were encountered:
Description
When creating an area with "&" in its name, it is not possible to edit its load matrix with the front.
Steps to Reproduce
Expected Behavior
It should be possible to edit the load matrix with the front.
Possible Solution
The problem is that the API used it this : /v1/studies/study_id/matrix?path=input/load/series/load_a&b
The & creates a new parameter in the API request which is b and path is only input/load/series/load_a, therefore the request fails.
The solution I see is to escape this character in the API path request.
Environment
The text was updated successfully, but these errors were encountered: