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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.01
    • 1.7.04
    • FR Cell
    • None
    • Rank:
      0|i0008n:
    • i2b2 Core
    • 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

            mem61 Mike Mendis
            hongluo1 Hong Luo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: