Bug 1119694

Summary: New Shortcuts are created with every program group name validation failure
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: mtjandra
Target Milestone: ER10   
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:
Windows
Last Closed: 2014-08-06 14:40:22 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:
Embargoed:
Attachments:
Description Flags
windows_shortcuts_creation none

Description Petr Kremensky 2014-07-15 10:04:02 UTC
Created attachment 918108 [details]
windows_shortcuts_creation

Description of problem:
 A new set of shortcuts is created with everytime program group name validation fails creating extra set of shortcuts.

Version-Release number of selected component (if applicable):
 EAP 6.3.0.ER9

How reproducible:
 Always (Windows)

Steps to Reproduce:
 1. Start the gui installer.
 2. Go to shortcuts creation screen.
 3a. Set program group name to JBoss\Platform -> Next -> OK (Error dialogue)
 3b. Set program group name to JBoss\Platf -> Next -> OK (Error dialogue)
 3c. Set program group name to JBoss -> Finish the installation

Actual results:
 Shortcuts are created also for locations which didn't pass the validation (21 shortcuts)

Expected results:
 Shortcuts are created only for locations which pass the validation (7 shortcuts).

Additional info:
 - We should reconsider allowing the '\' for shortcuts path on windows (See bz1088900) as the helping panel for creating shortcuts on windows is adding the '\' character (See attachment).
 - All shortcuts are deleted during uninstallation.

Comment 2 Petr Kremensky 2014-07-17 05:16:36 UTC
Verified on EAP 6.3.0.ER10 installer.