CDR Tickets

Issue Number 4165
Summary Media doc publishing report broken
Created 2016-10-07 07:52:28
Issue Type Bug
Submitted By Kline, Bob (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2016-12-12 08:45:54
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.195958
Description

This report has run into a limitation of SQL server, which cannot handle more than 4,096 placeholder parameters in an IN clause (the error message incorrectly says "The number of elements in the select list exceeds the maximum allowed number of 4096 elements," which is incorrect since there are only eight elements in the query's select list). The report will have to be rewritten to apply the restriction to the known set of document IDs by hand instead of having the DBMS do it.

Comment entered 2016-12-12 08:45:54 by Kline, Bob (NIH/NCI) [C]

Fixed on DEV; ready for user testing.

Comment entered 2017-01-05 15:37:41 by Juthe, Robin (NIH/NCI) [E]

Verified on DEV and on QA.

Elapsed: 0:00:00.001225