Bug 1281220

Summary: UI indicates that you can delete Default Location
Product: Red Hat Satellite Reporter: David O'Brien <daobrien>
Component: WebUIAssignee: Ohad Levy <ohadlevy>
WebUI sub component: Foreman QA Contact: Katello QA List <katello-qa-list>
Status: CLOSED DUPLICATE Docs Contact: David O'Brien <daobrien>
Severity: medium    
Priority: unspecified CC: bbuckingham
Version: 6.1.3   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-16 19:03:36 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:

Description David O'Brien 2015-11-12 04:59:09 UTC
Description of problem:

Navigate to Administer > Locations
For "Default Location" click "Delete"

UI returns error saying "can't delete default Location"

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

6.1.3

How reproducible:

Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

If it's not slated to be addressed in a later release, it would be an improvement if the "Delete" option were removed so as not to confuse users.

Additional info:

Comment 1 David O'Brien 2015-11-12 05:28:48 UTC
Not sure if I should raise this separately, but from the CLI perspective:

# hammer location delete --id 5

Could not delete the location:
  Cannot delete the default Location

If there is no indication in the location name that it's the default, it too could lead to confusion. Would it be possible to do something like:

# hammer location list

5  | Red Hat (default)

Comment 2 Brad Buckingham 2015-11-16 19:03:36 UTC

*** This bug has been marked as a duplicate of bug 1268012 ***