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

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.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Alejandro Galue January 18, 2013 at 11:31 AM

Fixed on revision 524627f65537ad5c05813793a3c4b63535b056b8 for 1.10, and will be merged into master soon.

The solution was tested on my own environment.

Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

PagerDuty

Created January 18, 2013 at 11:27 AM
Updated January 27, 2017 at 4:20 PM
Resolved January 18, 2013 at 11:31 AM