Stirling-PDF/src/main/java/stirling/software/SPDF/utils
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
..
misc Modernize and secure temp file creation (#2106) 2024-10-28 23:19:12 +00:00
propertyeditor Fix deserialization failure in Change Metadata (#2382) 2024-12-03 08:28:34 +00:00
CheckProgramInstall.java Fix: introduces the verification of the python installation (#1730) 2024-08-21 11:16:29 +01:00
CustomHtmlSanitizer.java Frooodle/license (#1994) 2024-10-14 22:34:41 +01:00
ErrorUtils.java formatting 2023-12-30 19:11:27 +00:00
FileInfo.java Preparation for Switching to a New Database Version (#1521) 2024-07-05 20:48:33 +01:00
FileMonitor.java automate fat docker 2024-06-01 13:55:28 +01:00
FileToPdf.java fixes and other changes and debug of WIP SAML (#2360) 2024-11-29 15:11:59 +00:00
GeneralUtils.java Frooodle/license (#1994) 2024-10-14 22:34:41 +01:00
ImageProcessingUtils.java Feature/save signs (#2127) 2024-10-30 12:46:44 +00:00
PDFManipulationUtils.java formatting 2023-12-30 19:11:27 +00:00
PDFToFile.java Frooodle/license (#1994) 2024-10-14 22:34:41 +01:00
PdfUtils.java extract and apply the image orientation from exif data in imageToPdf (#2073) 2024-10-23 12:17:40 +01:00
ProcessExecutor.java Removal of Ghostscript to use qpdf and tesseract directly (#2338) 2024-11-26 20:50:35 +00:00
PropertyConfigs.java formatting 2023-12-30 19:11:27 +00:00
RequestUriUtils.java Frooodle/license (#1994) 2024-10-14 22:34:41 +01:00
UrlUtils.java Pipeline fixes for json lists + delete func (#1425) 2024-06-09 13:56:55 +01:00
WebResponseUtils.java test 2024-02-06 00:00:49 +00:00