Bug #13526

Upload multi-page files as multiple descriptions functionality results in 500 error

Added by Mike Cantelon 4 months ago. Updated 4 months ago.

Status:NewStart date:06/17/2021
Priority:HighDue date:
Assignee:-% Done:


Category:Digital object
Target version:-
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:


To reproduce:

1. Go to /settings/uploads and set "Upload multi-page files as multiple descriptions" to "yes"
2. Save
3. Attempt to link a multi-page PDF to an information object


500 error and no creation of digital objects

Expected result:

No error and creation of digital objects


#1 Updated by Mike Cantelon 4 months ago

Error results because the compound digital objects don't have their name property set, in the createCompoundChildren method of QubitDigitalObject, but the MySQL table schema for digital objects doesn't allow nane to be NULL.

Solved by setting name to some value.

Also available in: Atom PDF