Uploaded image for project: 'Jetspeed 2'
  1. Jetspeed 2
  2. JS2-599

Statistics throw a NumberFormatException for last 24 hours and last 7 days

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-dev, 2.1
    • Fix Version/s: 2.1-dev, 2.1
    • Component/s: Admin Portlets
    • Labels:
      None
    • Environment:
      Java 5 Tomcat 5.5

      Description

      Statistics can not be displayed for "last 24 hours" or "last 7 days" because the date calculation was not supporting statistic codes ending with a 'd' where d stands for days.

      The user can click on the radio buttons corresponding to these options but the page returned is the previous option selected.

        Activity

        Hide
        donaghy Philip Mark Donaghy added a comment -

        This patch corrects this bug. It changes the getStartDateFromPeriod method of PortalStatisticsImpl.java which calculates the start time for the statistics query.

        Apply patch to the root of the source code tree.

        Show
        donaghy Philip Mark Donaghy added a comment - This patch corrects this bug. It changes the getStartDateFromPeriod method of PortalStatisticsImpl.java which calculates the start time for the statistics query. Apply patch to the root of the source code tree.
        Hide
        taylor David Sean Taylor added a comment -

        patch applied and tested.

        Show
        taylor David Sean Taylor added a comment - patch applied and tested.
        Hide
        adouma Ate Douma added a comment -

        Closed again now properly recorded against Fix Version 2.1 as well

        Show
        adouma Ate Douma added a comment - Closed again now properly recorded against Fix Version 2.1 as well

          People

          • Assignee:
            taylor David Sean Taylor
            Reporter:
            donaghy Philip Mark Donaghy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development