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
It is also not possible to change this using WebIU.
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.
The bug does not show in Spacewalk. However, here's the fix ... spacewalk.git: 37c5a382a4f5d152fce0d26bbcf4a0caa341f531
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. http://rhn.redhat.com/errata/RHBA-2013-1827.html