Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-5713

Wrong redirect after clicking on any ticket related button from the alarm details page

    XMLWordPrintable

    Details

      Description

      After enabling any Trouble Ticket Integration, the alarm details page shows 3 buttons for create, update and close tickets.

      After clicking on any of those, the action is taken by the AlarmTicketController. The JSP must provide the page that the controller must use to redirect the user after updating the ticket.

      The JSP is passing a relative URL to the controller, and of course, the controller forms the final URL based on its own path (in this case, alarm/ticket).

      So, as the JSP is passing "detail.htm", the final path will be "alarm/ticket/detail.htm" which doesn't exist. The intention is redirect to alarm/detail.htm, so in order to avoid the confusion, an absolute URL (not a relative one) must be passed to the controller.

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: