Omar Ahmed Hassan b7da84d257
Fix deserialization failure in Change Metadata (#2382)
* Fix deserialization failure from String to Map

Fix deserialization failure from String to Map that caused the following exception:
Resolved [org.springframework.web.bind.MethodArgumentNotValidException: Validation failed for argument [0] in public org.springframework.http.ResponseEntity<byte[]> stirling.software.SPDF.controller.api.misc.MetadataController.metadata(stirling.software.SPDF.model.api.misc.MetadataRequest) throws java.io.IOException: [Field error in object 'metadataRequest' on field 'allRequestParams': rejected value [{"customKey1" : "YourCustomKey", "customKeyValue1", "YourCustomValue"}]; codes [typeMismatch.metadataRequest.allRequestParams,typeMismatch.allRequestParams,typeMismatch.java.util.Map,typeMismatch];

* Fix form binding for dynamic Map entries in Change Metadata

- Implemented support for dynamic key-value inputs in Change Metadata form using proper `name` attributes for Map (`allRequestParams`) binding.
- Fix form binding for dynamic Map (`allRequestParams`) entries in Change Metadata as the `allRequestParams` (Map name) was being sent as an empty map.
2024-12-03 08:28:34 +00:00
..
2024-05-22 21:48:23 +01:00
2024-10-14 22:34:41 +01:00
2024-08-23 09:17:50 +01:00
2024-10-29 17:56:29 +00:00
2024-10-30 12:46:44 +00:00
2024-07-04 21:13:03 +00:00
2024-11-05 14:31:31 +00:00
2024-10-30 12:46:44 +00:00
2024-10-29 17:56:29 +00:00
2024-11-25 20:43:05 +00:00
2024-11-15 18:57:51 +00:00