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.
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.