mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-11-01 01:21:18 +01:00
* 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.
|
||
|---|---|---|
| .. | ||
| misc | ||
| propertyeditor | ||
| CheckProgramInstall.java | ||
| CustomHtmlSanitizer.java | ||
| ErrorUtils.java | ||
| FileInfo.java | ||
| FileMonitor.java | ||
| FileToPdf.java | ||
| GeneralUtils.java | ||
| ImageProcessingUtils.java | ||
| PDFManipulationUtils.java | ||
| PDFToFile.java | ||
| PdfUtils.java | ||
| ProcessExecutor.java | ||
| PropertyConfigs.java | ||
| RequestUriUtils.java | ||
| UrlUtils.java | ||
| WebResponseUtils.java | ||