Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1329172

Summary: First change to capsule doesn't return to index page
Product: Red Hat Satellite Reporter: Alexander Braverman <abraverm>
Component: Foreman ProxyAssignee: Ondřej Pražák <oprazak>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: abraverm, bbuckingham, bkearney, inecas, jcallaha, kbidarka, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: centralci
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:11:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1338516    

Description Alexander Braverman 2016-04-21 10:23:09 UTC
Description of problem:
I installed satellite with an external capsule that was registered to the server.
The capsule was not connected to any org/loc so I wanted to add them.
I clicked on the capsule to display it and then clicked on Edit.
After choosing an org, loc and lifecycle environment I hit save.
There was a message displayed that the capsule was updated successfully but I was still on the Edit page.
I hit cancel and then checked, the capsule was updated as expected but there was no way to know from the UI response.


Version-Release number of selected component (if applicable):
Snap 8.2


How reproducible:
Tried twice on new registered capsule, happened both times.

Steps to Reproduce:
1. Install new capsule and register it to the Satellite server
2. Choose Any Organization/Any Location
3. Go to Infrastructure -> Capsules
4. Click on the capsule to display it
5. Click Edit
6. Update org/loc/lifecycle environment
7. Click Save

Actual results:
There is a message about successful update but you stay on the same page.

Expected results:
The capsule is saved and you are redirected to the capsules index page.

Additional info:
The capsule was registered to satellite with only foreman-installer.
The capsule subscription-manager is not registered to the Satellite server.

Comment 1 Ivan Necas 2016-04-26 20:07:16 UTC
Created redmine issue http://projects.theforeman.org/issues/14838 from this bug

Comment 3 Bryan Kearney 2016-05-05 14:16:56 UTC
Upstream bug assigned to oprazak

Comment 4 Bryan Kearney 2016-05-05 14:16:59 UTC
Upstream bug assigned to oprazak

Comment 11 Kedar Bidarkar 2016-06-16 10:16:07 UTC
1. Selected Any Organization/Any Location
2. Went to Infrastructure -> Capsules
3. Clicked on the capsule to display it
4. Clicked Edit
5. Updated org
6. Clicked Save
7. UI gave a success message and lands us back on the show capsule page.


1. Selected Any Organization/Any Location
2. Went to Infrastructure -> Capsules
4. Clicked on the Edit button of the Capsule.
5. Updated org
6. Clicked Save
7. UI gave a success message and lands us back on the capsule index page.

I am unable to reproduce this issue, anymore if this issue is seen again please feel free to re-open this bug.

VERIFIED with sat62-snap(GA)-14.1

Comment 12 Bryan Kearney 2016-07-27 11:11:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501