archivematica / Issues

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

Problem: URL of job report is misleading #1377

Open ross-spencer opened 6 years ago

ross-spencer commented 6 years ago

The examples here show differences in UUID for task uuid and the slug in the URL, the impact is only on presentation as the data is correct. This is likely a misunderstanding on my part on the use of these values so will endeavour to look into the code when there's an opportunity. The two task values seems unclear.

Transfer 77f6db26-55a3-4366-aacb-bc34e6e1c671 Task Name: Scan for viruses Task: 24d1f507-8d0c-4a36-994b-c2296a3baa50 Tasks Slug: http://am17x.qa.archivematica.org/tasks/acbbe63f-8e5a-427b-bc8a-1d945e81a643/

image

Transfer: 77f6db26-55a3-4366-aacb-bc34e6e1c671 Task Name: Identify file format Task: 5003bbf9-5248-4002-8fdf-aa806c7555ff Tasks Slug: http://am17x.qa.archivematica.org/tasks/5daef0b3-d519-49f2-b76b-a80d76b8d38c/

image

Transfer: 67875d56-07fa-4397-93dc-4cfec232b289 Task Name: Identify file format Task: c5a06b69-5e30-4e5b-a8ab-2ae5c579300c Tasks Slug: http://am17x.qa.archivematica.org/tasks/9cd3305a-4c2f-4de5-aaa3-4458f2ebb39a/

image

sevein commented 5 years ago

What you're seeing in the address bar is the UUID of the Job (Job » 1:N » Task).

I guess a better option could be /transfer/<transfer_uuid>/job/<job_uuid>/.

ross-spencer commented 5 years ago

Ahhh, I remember my baby-teething terminology issues! Feel free to close this. Clearly no actual problem. Perhaps it presents well for jobs like Identify file formats, but worse for Check transfer directory for objects - but not a biggie.