Bug 794705

Summary: Creating activation key: Usage Limit must be a valid number
Product: [Community] Spacewalk Reporter: Michael Mráka <mmraka>
Component: WebUIAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.7Keywords: Regression
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-java-1.7.31-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-07 09:55:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 765736    

Description Michael Mráka 2012-02-17 11:24:23 UTC
Description of problem:
Spacewalk on postgresql can't create activation key with unlimited usage.

Version-Release number of selected component (if applicable):
spacewalk-java-1.7.26-1.el6.noarch


How reproducible:
always

Steps to Reproduce:
1. got to Systems > Activation keys > create new key (https://<satellite>/rhn/activationkeys/Create.do)
2. fill in Description and Key, leave Usage empty, skip other fields and click Create Activation Key
  
Actual results:
Usage Limit must be a valid number.

Expected results:
key created

Additional info:
postgresql specific, works on oracle

Comment 1 Tomas Lestach 2012-02-17 12:27:34 UTC
Right.

This was fixed yesterday by: 444357d26b962752330b50bb594aabeb12b73885
Related commits in spacewalk.git:
 80d0afe7b7fdc8107247afa814f58299daf1f6e5
 7bf211de0e170cb8d6bc505d1a49b448458d0a89
 9eefabf7bb6a870d87e5b368b114c5a2e16cdf27
 cbd5696e8cdcfed959a1ba31410c3661e663eb46
 759acd226020e6ed30f8d97e19cc1790457e53fc

Comment 2 Jan Pazdziora 2012-03-07 09:55:38 UTC
Spacewalk 1.7 has been released:

https://fedorahosted.org/spacewalk/wiki/ReleaseNotes17