Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
Bug 1050014 - Cannot deploy bundle to EAP domain mode
Browse files Browse the repository at this point in the history
Deployment node must be created with the filename, not the runtime name

See also Bug 1119781 - runtime name provided for deployment child creation overrides application name and path

Cherry-picked from cede4b6
  • Loading branch information
tsegismont committed Jul 24, 2014
1 parent c466c9e commit 4afff80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ private BundleHandoverResponse handleDeployment(BundleHandoverRequest handoverRe
return BundleHandoverResponse.success();
}

Operation addDeploymentStep = new Operation("add", "deployment", runtimeName);
Operation addDeploymentStep = new Operation("add", "deployment", filename);
List<Object> addDeploymentContentProperty = new ArrayList<Object>(1);
Map<String, Object> contentValues = new HashMap<String, Object>();
contentValues.put("hash", new PROPERTY_VALUE("BYTES_VALUE", hash));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ private BundleHandoverResponse handleDeployment(BundleHandoverRequest request) {
return BundleHandoverResponse.success();
}

Operation addDeploymentStep = new Operation("add", "deployment", runtimeName);
Operation addDeploymentStep = new Operation("add", "deployment", filename);
List<Object> addDeploymentContentProperty = new ArrayList<Object>(1);
Map<String, Object> contentValues = new HashMap<String, Object>();
contentValues.put("hash", new PROPERTY_VALUE("BYTES_VALUE", hash));
Expand Down

0 comments on commit 4afff80

Please sign in to comment.