Skip to content

Commit 15015a8

Browse files
Prevent exception when attempting to find the base version in create
1 parent 827b790 commit 15015a8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

core/src/main/python/wlsdeploy/tool/create/domain_typedef.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,7 @@ def __match_version_typedef(self, versions_dict):
197197

198198
wls_helper = WebLogicHelper(self._logger)
199199
wls_version = wls_helper.get_actual_weblogic_version()
200-
self._logger.fine('', wls_version, self._model_context.get_domain_home(),
201-
class_name=self.__class_name, method_name=_method_name)
200+
self._logger.fine('WLSDPLY-12310', wls_version, class_name=self.__class_name, method_name=_method_name)
202201

203202
result = None
204203
if wls_version in versions_dict:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ WLSDPLY-12307=Domain type {0} type definition in file {1} contains an empty vers
972972
WLSDPLY-12308=Domain type {0} type definition in file {1} contained version {2} which most closely \
973973
matches WebLogic version {3}
974974
WLSDPLY-12309=Domain type {0} type definition in file {1} did not contain a version that matched WebLogic version {2}
975-
WLSDPLY-12310=Version {0} returned from the domain home {1}
975+
WLSDPLY-12310=Version {0} returned from the domain home
976976

977977
# create.py
978978
WLSDPLY-12400={0} got the JAVA_HOME {1} from the environment variable but it was not a valid location: {2}

0 commit comments

Comments
 (0)