Skip to content

Commit bdb116d

Browse files
committed
JIRA WDT-8 Corrected error message for assign failure
1 parent f6ce546 commit bdb116d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

core/src/main/python/wlsdeploy/tool/util/wlst_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ def assign(self, source_type, source_name, target_type, target_name):
3535
try:
3636
wlst_helper.assign(source_type, source_name, target_type, target_name)
3737
except PyWLSTException, pwe:
38-
ex = exception_helper.create_exception(self.__exception_type, 'WLSDPLY-19100',
39-
source_type, source_name, target_type, target_name,
38+
ex = exception_helper.create_exception(self.__exception_type, 'WLSDPLY-19143',
39+
target_type, target_name, source_type, source_name,
4040
pwe.getLocalizedMessage(), error=pwe)
4141
self.__logger.throwing(ex, class_name=self.__class_name, method_name=_method_name)
4242
raise ex

core/src/main/resources/oracle/weblogic/deploy/messages/wlsdeploy_rb.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,7 @@ WLSDPLY-19139=Failed to start application {0}: {1}
11401140
WLSDPLY-19140=Failed to stop application {0}: {1}
11411141
WLSDPLY-19141=Failed to undeploy application {0}:{1}
11421142
WLSDPLY-19142=Failed to undo changes: {0}
1143+
WLSDPLY-19143=Failed to assign {0} {1} to {2} {3}
11431144

11441145
# wlsdeploy/tool/util/attribute_setter.py
11451146
WLSDPLY-19200=No target found with name {0}

0 commit comments

Comments
 (0)