View submissions - error when submission doesn;t have any files associated

Project:RUetd
Version:2.2.2
Component:Code
Category:bug report
Priority:normal
Assigned:chadmills
Status:closed
Description

<a href="http://dev-etd.libraries.rutgers.edu/index.php?view=view_submissions&amp;pid=2258" title="http://dev-etd.libraries.rutgers.edu/index.php?view=view_submissions&amp;pid=2258">http://dev-etd.libraries.rutgers.edu/index.php?view=view_submissions&amp;pid...</a>
View SUbmissions, when Submission Detail screen was displayed with options:
Display 5 records
Degree Type: All
Grad Date: ALL ALL
Display Embargoed Only: No
Sent to ProQuest/UMI: No
Paper Status: Archived
Clicked on Mills, gjhjgh
No file name was displayed in the Submission section of the screen.
Got the following error in the Review section after "Upload New ETD for Author:" and before Browse button:

Notice: Undefined variable: file_id in /usr/local/apache2/htdocs/etd_dev/ruetd/content/track_files/track_detail.php on line 542

No error was displayed when ETDs were selected that displayed a file name in the Submission section.

Comments

#1

Status:active» test

Ready for testing. Use the above URL mentioned in the error to test. Added a initializer for the variable throwing the error on line 535 of ./library/content/track_files/track_detail.php

#2

Status:test» closed

Back to top