Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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)
  2. create on time migration event, that will:
    1. scan all unit configs to determine units/fields that use "kUploadFormatter"
    2. 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
    3. prepare new safe filename (without ".tmp" extension) via "FileHelper::ensureUniqueFilename" method
    4. on disk rename problematic file using prepared filename
    5. if rename was successful update database record

Related Tasks

Jira Legacy
serverSystem Jira
serverId513b375f-8291-3313-9d9f-704c39b1f915
keyINP-1733