-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(starter): Issue 31030 issue with symbolic link created with post…
…start (#31109) ## Proposed Changes This pull request includes several updates to the backup directory configuration and improvements to the `ImportStarterUtil` class for handling file operations more robustly. The most significant changes are the introduction of a configurable backup directory path, enhancements to file handling in `ImportStarterUtil`, and updates to the `dotmarketing-config.properties` file. ### Backup Directory Configuration: * Added a method to retrieve a configurable backup directory path with a default fallback. ### File Handling Improvements: * Refactored the `deleteTempFiles` method to use Java NIO for better file handling and safety. * Enhanced the `validateZipFile` method to ensure proper setup using Java NIO features and added concurrency safety. ## Fixes #31030
- Loading branch information
Showing
3 changed files
with
54 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters