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

JSP UI failed to display page due to exception in registering usage event

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Answered
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JSPUI
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      10
    • Documentation Status:
      Needed

      Description

      running on my laptop DSPACE failed to display an item page

      I tracked it down to an exception in HandleServet.java: displayItem

      new DSpace().getEventService().fireEvent(
      new UsageEvent(
      UsageEvent.Action.VIEW,
      request,
      context,
      item));

      This failed with a complaint about an IP address that the code could not parse.

      probable all event tracking code should be made 'exception' proof

      will send in PR - where this one location is wrapped with try catch

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            monikam Monika Mevenkamp
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: