Uploaded image for project: 'Reporting Module'
  1. Reporting Module
  2. REPORT-697

DiskReportProcessoer does not properly create directory for reports

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Reporting 0.9.2
    • Component/s: None
    • Labels:
    • Complexity:
      Low

      Description

      The DiskReportProcesser accepts a parameter "SAVE_LOCATION", which is the name of the directory where the reports it generates should be spaced.

      In the code, there is a mkdir call that is supposed to create the directory if it doesn't exist... however, before this check, an exception is thrown if the path specified by SAVE_LOCATION is not a directoy--so the mkdir call will never be reached.

      The exception test should be changed to only be thrown if the path exists, but is not a directory.

        Attachments

          Activity

            People

            Assignee:
            mogoodrich Mark Goodrich
            Reporter:
            mogoodrich Mark Goodrich
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: