Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-44

Monthly statistics skip first and last of month - ID: 2541435

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      None
    • Attachments:
      1
    • Comments:
      6
    • Documentation Status:
      Not Required

      Description

      Adding up the monthly view totals for a given item in
      /dspace/reports/report-year-month.html files yields less than the aggregate
      total for the item in the current report-general-year-month-day.html.

      This appears to be an issue with the logLine.beforeDate and
      logLine.afterDate functions in LogLine.java as they are used in
      LogAnalyser.java

      They return true when the dates are equal. Which forces the function
      processLogs to skip over the log line in LogAnalyser.java for the startDate
      and endDate (first and last of month).

        Attachments

          Activity

            People

            • Assignee:
              stuartlewis Stuart Lewis
              Reporter:
              kipkorir2008 Charles Kiplagat
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: