jaim23mf / API_eroma2

0 stars 0 forks source link

Map Editor Save problems #7

Closed nicholaslambertucci-ett closed 1 year ago

nicholaslambertucci-ett commented 1 year ago

There're some problems when user click on Save button of Floor 3D editor.

  1. The request to the api made by the frontend gives 404 Not Found response image this is caused by a wrong route definition on SaveFloor action of Map controller that is missing the floorId route parameter image number 1. problem is solved by adding such parameter in the above route definition image
  2. Where the first problem is solved, another one come out. The same request made by fronted gives 400 Bad Request response image The validation message The attachedShopNodeName field is required let me think that API is expecting a not empty/null attachedShopNodeName property value, but in docs suche e field is not required.
jaim23mf commented 1 year ago

Parameter attachedShopNodeName set to optional in commit f8aa382