Project

General

Profile

Bug #9469

Delete report success action should redirect to /reports instead of a 404 error on /reports/(report-id)

Added by Tommy McNeely over 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

This is similar to #8638. When I delete a report (which I admit I did accidentally), I get a 404 screen like this: https://www.dropbox.com/s/q6fe2uki7hhotj3/Screenshot%202015-02-19%2010.05.01.png?dl=0 instead of being returned to the reports view.


Related issues

Related to Foreman - Bug #8638: Delete Host action should return /hosts instead of 404 on /hosts/delete-host.domainClosed2014-12-09

Associated revisions

Revision 0b1dafbb (diff)
Added by Shlomi Zadok over 4 years ago

fixes #9469 - redirect to reports#index on destroy

Revision a5e07736 (diff)
Added by Shlomi Zadok over 4 years ago

fixes #9469 - redirect to reports#index on destroy

(cherry picked from commit 0b1dafbbef20e185a9e4fdda626796db4a6168bd)

Conflicts:
test/integration/report_test.rb

Revision 92c48ac7 (diff)
Added by Shlomi Zadok over 4 years ago

fixes #9469 - redirect to reports#index on destroy

(cherry picked from commit 0b1dafbbef20e185a9e4fdda626796db4a6168bd)

History

#1 Updated by Dominic Cleal over 4 years ago

  • Related to Bug #8638: Delete Host action should return /hosts instead of 404 on /hosts/delete-host.domain added

#2 Updated by Shlomi Zadok over 4 years ago

  • Assignee set to Shlomi Zadok

#3 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2258 added
  • Pull request deleted ()

#4 Updated by Shlomi Zadok over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 36

Also available in: Atom PDF