Uploaded image for project: 'i2b2 Core Software'
  1. i2b2 Core Software
  2. CORE-131

FRC Error - Unable to get 'destdir' from File Repository Cell

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.01
    • Fix Version/s: 1.7.04
    • Component/s: FR Cell
    • Labels:
      None
    • Rank:
      0|i0008n:
    • i2b2 Sponsored Project/s:
      i2b2 Core
    • Affects Database/s:
      Oracle

      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.
       

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code