Bug 1072624

Summary: Replace deployment in admin console ignores runtime-name
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: dereed
Component: Web ConsoleAssignee: Harald Pehl <hpehl>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Jelinek <pjelinek>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.1CC: brian.stansberry, hbraun, hpehl, pjelinek
Target Milestone: DR0   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description dereed 2014-03-04 22:31:04 UTC
Description of problem:
When using the "Replace" deployment feature in the admin console, the entered Runtime Name is ignored.

Version-Release number of selected component (if applicable):
6.2 CP1

How reproducible:
Always.

Steps to Reproduce:
1. Go to "Manage Deployments" screen in the admin console
2. Choose a deployment and click "Replace" button
3. Choose a new file and click "Next".
4. Enter a Runtime Name and click "Save".

Actual results:
The Runtime Name is set to the same value as Name, not the entered Runtime Name.

Expected results:
The Runtime Name is set to the value specified.

Additional info:

Comment 1 dereed 2014-03-04 22:32:18 UTC
Workarounds:
- remove and then add again in the GUI
- do the replace with the CLI:

    deploy /path/to/myapp-1.2.3.ear --name="myapp" --runtime-name="myapp.ear" --force

Comment 2 JBoss JIRA Server 2014-07-10 11:51:48 UTC
Harald Pehl <hpehl> updated the status of jira HAL-452 to Coding In Progress

Comment 3 JBoss JIRA Server 2014-07-10 12:06:15 UTC
Harald Pehl <hpehl> updated the status of jira HAL-452 to Resolved

Comment 4 Pavel Jelinek 2014-11-26 09:30:48 UTC
Should this still remain in POST state?

Comment 5 Pavel Jelinek 2014-12-05 13:19:39 UTC
Verified for EAP 6.4.0.DR12