...
- change "kDBItem::setTempID" method to replace old item id (e.g. "0") with new item id (e.g. "-1") inside pending actions (via "kDBItem::getPendingActions" and "kDBItem::setPendingActions" methods)
- create on time migration event, that will:
- scan all unit configs to determine units/fields that use "kUploadFormatter"
- look up through each of found unit db tables and for each field using uploader to determine if uploaded file with ".tmp" extension is present in there
- prepare new safe filename (without ".tmp" extension) via "FileHelper::ensureUniqueFilename" method
- on disk rename problematic file using prepared filename
- if rename was successful update database record
Related Tasks
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|