Bug 1033028 - Prevent users entering empty program group for shortcuts.
Summary: Prevent users entering empty program group for shortcuts.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Installer
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ER1
: EAP 6.3.0
Assignee: Miles Tjandrawidjaja
QA Contact: Petr Kremensky
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-21 12:53 UTC by Petr Kremensky
Modified: 2014-09-03 04:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-28 15:27:17 UTC
Type: Bug


Attachments (Terms of Use)

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.


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