Bug 1007998 - Unable to disable activation keys
Unable to disable activation keys
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API (Show other bugs)
Unspecified Unspecified
high Severity medium
: ---
: ---
Assigned To: Tomas Lestach
Red Hat Satellite QA List
: Regression
Depends On:
Blocks: sat560-triage
  Show dependency treegraph
Reported: 2013-09-13 13:50 EDT by Matej Kollar
Modified: 2013-12-17 01:55 EST (History)
4 users (show)

See Also:
Fixed In Version: spacewalk-java-2.0.2-49
Doc Type: Bug Fix
Doc Text:
Consequence: WebUI incorrectly showed disabled activation keys as being enabled. Result: WebUI correctly shows activation keys enabled or disabled according to their state.
Story Points: ---
Clone Of:
Last Closed: 2013-12-12 05:04:37 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matej Kollar 2013-09-13 13:50:36 EDT
Description of problem:

   Using activationkey.setDetails to disable looks like successfull,
   but does not work.

Version-Release number of selected component: spacewalk-java-2.0.2-34

How reproducible: always/deterministic

Steps to Reproduce:

  1. Create activation key (will be reated like enabled)
  2. call  activationkey.setDetails(key, label, {'disabled': True})

Actual results: activation key is still enabled.

Expected results: activation key is disabled.

Additional info:

  * I am unable to test transition disabled -> enabled as I am unable to
    obtain disabled activation key
  * Regression against 550
Comment 1 Matej Kollar 2013-09-13 13:53:01 EDT
It is also not possible to change this using WebIU.
Comment 4 Tomas Lestach 2013-09-16 11:40:17 EDT
It looks like only WebUI incorrectly displays the dis/enabled key property. Changes are done in the DB.
Need to check the WebUI selection sync.
Comment 5 Tomas Lestach 2013-09-18 05:23:37 EDT
The bug does not show in Spacewalk. However, here's the fix ...

spacewalk.git: 37c5a382a4f5d152fce0d26bbcf4a0caa341f531
Comment 10 errata-xmlrpc 2013-12-12 05:04:37 EST
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.


Note You need to log in before you can comment on or make changes to this bug.