CDR Tickets

Issue Number 5333
Summary Summaries TOC Report Form Error
Created 2024-09-11 15:23:28
Issue Type Bug
Submitted By Englisch, Volker (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Resolved
Resolved 2024-09-17 11:08:56
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.463757
Description

When running the "Summary TOC Lists" report using the option to enter a single CDR-ID the user receives an error in 2 situations:

  • Entering a CDR-ID as "CDR12345" instead of "12345" results in the error message
    invalid literal for int() with base 10: 'CDR12345'
    Almost all of our entry forms allow the CDR-ID to be entered in both formats.

  • If the ID for a document that doesn't exist has been entered the following error message is shown:
    'Version' object has no attribute 'number'
    It would be better to display a more user friendly error message.

Comment entered 2024-09-17 11:08:56 by Kline, Bob (NIH/NCI) [C]
Comment entered 2024-11-13 11:07:00 by Kline, Bob (NIH/NCI) [C]

Acceptance Criteria

  • CIAT/OCC > Summary Reports > Summary Content Reports > TOC Levels

  • Choose By CDR ID for the Selection Method field

  • Enter CDR62675 in the CDR ID field

  • Click Submit

  • Leave the Version field at Current Working Version and click Submit again

  • Confirm that the report is successfully generated

  • Return to the browser tab with the original form

  • Change the CDR ID field to CDR1

  • Verify that a warning message is displayed saying "Document CDR1 was not found"

Elapsed: 0:00:00.001534