Bug 1033028

Summary: Prevent users entering empty program group for shortcuts.
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: InstallerAssignee: Miles Tjandrawidjaja <mtjandra>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: low Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: mtjandra, thauser
Target Milestone: ER1   
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-28 15:27:17 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:

Description Petr Kremensky 2013-11-21 12:53:21 UTC
Description of problem:
 Users shouldn't be able to enter "" as the Program group name for shortcuts.

Version-Release number of selected component (if applicable):
 EAP 6.2.0.CR2

How reproducible:
 Always

Steps to Reproduce:
 1. Go to shortcuts creation screen using default values.
 2. Eneter "" as Program group name.
 3. Press the Next button.

Actual results:
 User can finish the installation.

Expected results:
 Error dialog is thrown.

Additional info:
 Cannot try this on windows, as we don't have any free host in lab now.

Comment 1 Miles Tjandrawidjaja 2013-11-22 15:58:48 UTC
Hello,

Tried this on Fedora 18 and the program group "" was created.
When I tried on Windows 7 I couldn't find the shortcuts.

Should we just constrain the program group to contains only alphanumeric characters?

Comment 2 Petr Kremensky 2013-11-25 06:29:37 UTC
Yes, this should be enough.

Comment 3 Miles Tjandrawidjaja 2013-11-25 19:47:01 UTC
Added validation for program group to be alpha-numeric.

http://git.app.eng.bos.redhat.com/izpack.git/commit/?h=izpack-wip&id=11744a383e123902a26cd4ecac5da7c399317133

Comment 4 Petr Kremensky 2014-04-17 06:41:11 UTC
Verified on EAP 6.3.0.ER1.