Login New User
    •  
      request #14545 Artifact export is broken when an attachment is deleted
    Infos
    #14545
    Nicolas Terray (nterray)
    2020-02-19 11:36
    2020-02-11 18:11
    15210
    Details
    Artifact export is broken when an attachment is deleted
    Create an artifact.
    Add an attachment, submit.
    Delete an attachment, submit.
    Add another attachment, submit.

    Export the tracker:
    src/utils/php-launcher.sh src/utils/export_project_xml.php \
    -p <project-id> \
    -u admin \
    -t <tracker-id> \
    -o /path/to/archive.zip

    => you should not get an error

    Import the archive in another project
    src/utils/php-launcher.sh src/utils/import_project_xml.php \
    -p <another-project-id> \
    -u admin \
    -i /path/to/archive.zip \
    --automap no-email,create:A

    => the artifact is imported. only non-deleted attachments are imported.
    Empty
    Trackers
    All
    Empty
    Empty
    Stage
    Empty
    Closed
    2020-02-19
    Attachments
    Empty
    References

    List of items referenced by or referencing this item.

    Artifact Tracker v5

    Follow-ups