[CORE-131] FRC Error - Unable to get 'destdir' from File Repository Cell Created: 04/Aug/14  Updated: 08/Apr/15  Resolved: 24/Oct/14

Status: Closed
Project: i2b2 Core Software
Component/s: FR Cell
Affects Version/s: 1.7.01
Fix Version/s: 1.7.04

Type: Bug Priority: Major
Reporter: Hong Luo Assignee: Mike Mendis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Rank: 0|i0008n:
i2b2 Sponsored Project/s:
i2b2 Core
Affects Database/s:
Oracle
Participant/s:

 Description   
The database table PM.PM_CELL_PARAMS should have the configuration data for "destdir". The "destdir" value is being used when uploading file into File Repository cell.

In the code of RecvfileRequestHandler.java at edu.harvard.i2b2.fr\src\server\edu\harvard\i2b2\fr\delegate, the "destdir" is required.
String destDir = getCellDataParam("FRC", "destdir");

if (destDir == null) {
throw new I2B2Exception("Unable to get 'destdir' from File Repository Cell(FRC) param data");
}

However, the "destdir" is not being set by the database installation script. As a result, the following exception is thrown during Uploading file to FRC,
    "Unable to get 'destdir' from File Repository Cell(FRC) param data");

I need to manually configure the 'destdir" from admin console. The regular user won't have the knowledge about the variable "destdir", therefore, the configuration should be provided by default.
 

 Comments   
Comment by Mike Mendis [ 24/Oct/14 ]
the destdir needs to be set as a cell param
Generated at Sun Apr 05 17:05:59 UTC 2020 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.