Skip to content

Commit a0048e0

Browse files
key error for app when using 10.3.6 (#936)
1 parent 682d54d commit a0048e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/python/wlsdeploy/tool/deploy/applications_deployer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,9 +492,9 @@ def __get_library_references(self, base_location):
492492
ref_attrs = self.wlst_helper.lsa(app_ref)
493493
app_type = ref_attrs['Type']
494494
app_id = None
495-
if app_type == 'ApplicationRuntime':
495+
if app_type == 'ApplicationRuntime' and 'ApplicationName' in ref_attrs:
496496
app_id = ref_attrs['ApplicationName']
497-
if app_type == 'WebAppComponentRuntime':
497+
if app_type == 'WebAppComponentRuntime' and 'ApplicationIdentifier' in ref_attrs:
498498
app_id = ref_attrs['ApplicationIdentifier']
499499

500500
_update_ref_dictionary(existing_libraries, lib, absolute_source_path, lib_hash, config_targets,

0 commit comments

Comments
 (0)