EBMS Tickets

Issue Number 249
Summary Got an error in the import reports page
Created 2014-09-12 12:37:49
Issue Type Bug
Submitted By tanguturisk
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2014-09-12 14:58:19
Resolution Won't Fix
Path /home/bkline/backups/jira/oceebms/issue.137879
Description

I got drupal error when i edit the report# in the url.

steps:
Go to https://ebms-qa.nci.nih.gov/reports/import
select the board and topics in the filter fields and click submit button.
report results was displayed.
On url bar, enter 113 (eg) in the url and click enter
eg: https://ebms-qa.nci.nih.gov/reports/import/113

actul: system throw an error.
Error:

Notice: Undefined index: topic in pdq_ebms_import_reports_form() (line 3627 of /local/content/web/appdev/sites/ebms.nci.nih.gov/modules/custom/ebms/reports.inc).
Notice: Undefined index: cycle in pdq_ebms_import_reports_form() (line 3628 of /local/content/web/appdev/sites/ebms.nci.nih.gov/modules/custom/ebms/reports.inc).
Notice: Undefined index: import-start in pdq_ebms_import_reports_form() (line 3629 of /local/content/web/appdev/sites/ebms.nci.nih.gov/modules/custom/ebms/reports.inc).
Notice: Undefined index: import-end in pdq_ebms_import_reports_form() (line 3630 of /local/content/web/appdev/sites/ebms.nci.nih.gov/modules/custom/ebms/reports.inc).
Notice: Undefined index: topic in EbmsReports::import_reports() (line 1138 of /local/content/web/appdev/sites/ebms.nci.nih.gov/modules/custom/ebms/reports.inc).
Notice: Undefined index: cycle in EbmsReports::import_reports() (line 1139 of /local/content/web/appdev/sites/ebms.nci.nih.gov/modules/custom/ebms/reports.inc).
Notice: Undefined index: import-start in EbmsReports::import_reports() (line 1140 of /local/content/web/appdev/sites/ebms.nci.nih.gov/modules/custom/ebms/reports.inc).
Notice: Undefined index: import-end in EbmsReports::import_reports() (line 1141 of /local/content/web/appdev/sites/ebms.nci.nih.gov/modules/custom/ebms/reports.inc).

Comment entered 2014-09-12 14:58:19 by Kline, Bob (NIH/NCI) [C]

You're not supposed to edit the URL by hand. Earlier reports were created with different requirements, and the report criteria for those obsolete reports are not compatible with the new version of the software.

Attachments
File Name Posted User
screenshot1.png 2014-09-12 12:37:49

Elapsed: 0:00:00.000589