[MGNLDAM-286] Get temporary directory from the Path util class Created: 29/Jul/13  Updated: 07/Aug/13  Resolved: 29/Jul/13

Status: Closed
Project: Magnolia DAM Module
Component/s: None
Affects Version/s: 1.0.1
Fix Version/s: 1.0.2, 1.1

Type: Improvement Priority: Neutral
Reporter: Mikaël Geljić Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: upload
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLUI-1860 Upload Failed. The directory does not... Closed
relates to MAGNOLIA-5209 Split, deprecate, refactor info.magno... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

Same as MGNLUI-1860 but for the DamUploadFieldFactory.

Get temporary directory from the Path util class rather than straight from system property. This mostly ensures that directory will be created if it does not exist yet.

For the 1.0.x branch, only the call is replaced.
For the 1.1 branch, we also drop the no-longer used MagnoliaConfigurationProperties injection from the constructor and tests.


Generated at Mon Feb 12 04:58:20 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.