Project

General

Profile

Bug #33637

After creating new host group from help page, page doesn't redirect to main landing page.

Added by Tomer Brisker 4 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
-
Difficulty:
trivial
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1966942

Description of problem:
After creating new hostgroup, page doesn't redirect to main landing page.

This happens for only first created hostgroup (from welcome page), when there isn't another redirect_path stored in the session.


Related issues

Copied from Foreman - Bug #33177: After creating new host group or Http proxy, page doesn't redirect to main landing page.Closed

Associated revisions

Revision 01e3c61f (diff)
Added by Tomer Brisker 4 months ago

Fixes #33637 - Correctly redirect hostgroup create page

When creating the first hostgroup from the welcome page, submit does not
redirect back to the hostgroups index page due to incorrect referer
being stored in the session `redirect_path` value. This is similar to
the fix in 03a6981cd, but for pages that use the `SetRedirectionPath`
concern to control their form redirections.

History

#1 Updated by Tomer Brisker 4 months ago

  • Copied from Bug #33177: After creating new host group or Http proxy, page doesn't redirect to main landing page. added

#2 Updated by The Foreman Bot 4 months ago

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

#3 Updated by Ondřej Ezr 4 months ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/8724)

#4 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases 3.1.0 added

#5 Updated by Tomer Brisker 4 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by The Foreman Bot 4 months ago

  • Pull request https://github.com/theforeman/foreman/pull/8775 added

#7 Updated by Tomer Brisker 4 months ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/8775)

#8 Updated by The Foreman Bot 4 months ago

  • Pull request https://github.com/theforeman/foreman/pull/8775 added

#9 Updated by Tomer Brisker 4 months ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/8775)

#10 Updated by Ondřej Ezr 2 months ago

  • Fixed in Releases 3.0.2 added

Also available in: Atom PDF