archivematica / Issues

Issues repository for the Archivematica project
GNU Affero General Public License v3.0
16 stars 1 forks source link

Problem: Disk Image transfer type is labelled as 'standard' in UI and API results #1373

Open ross-spencer opened 6 years ago

ross-spencer commented 6 years ago

Processing-wise, it is unclear without further investigation if this should make a difference, but if you try to start a disk image transfer in AM 1.7 and then look at a list of Unapproved Transfers in the API, or simply look at the UI then the transfer type is listed as Standard:

{
    "message": "Fetched unapproved transfers successfully.",
    "results": [{
        "directory": "disk_image",
        "type": "standard",
        "uuid": "ddf0ccc1-82c7-4e4a-8c46-758ea5954c3b"
    }, {
        "directory": "disk_image_2",
        "type": "standard",
        "uuid": "309be768-0316-4fe1-a191-da5c79166395"
    }, {
        "directory": "SubmissionDocKel",
        "type": "standard",
        "uuid": "0c5d7b54-e09a-41ac-aa95-c5cb54658bd8"
    }]
}

image

It looks like this, in #part, is recorded in the Jobs table of the MCP database and controlled by what watched directory is used rather than any particular 'type' field, per https://github.com/artefactual/archivematica/blob/0af67bee24acf19e62cbb3ada28356393bb9e400/src/dashboard/src/components/api/views.py#L333

ross-spencer commented 5 years ago

Just testing this while I had a brief opportunity. This is still an issue in Archivematica qa/1.x -> 1.10.