Jetspeed 2
  1. Jetspeed 2
  2. JS2-599

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

        Philip Mark Donaghy created issue -
        Hide
        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
        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.
        Philip Mark Donaghy made changes -
        Field Original Value New Value
        Attachment PortletStatisticsImpl.java.patch [ 12342757 ]
        David Sean Taylor made changes -
        Assignee David Sean Taylor [ taylor ]
        David Sean Taylor made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        David Sean Taylor made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        Hide
        David Sean Taylor added a comment -

        patch applied and tested.

        Show
        David Sean Taylor added a comment - patch applied and tested.
        David Sean Taylor made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.1-dev [ 12310686 ]
        Hide
        Ate Douma added a comment -

        Closed again now properly recorded against Fix Version 2.1 as well

        Show
        Ate Douma added a comment - Closed again now properly recorded against Fix Version 2.1 as well
        Ate Douma made changes -
        Fix Version/s 2.1 [ 12310617 ]
        Ate Douma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development