Skip to content

Commit c13b857

Browse files
authored
Jira WDT-344 - Add location path to security provider attribute error message (#685)
1 parent bc5760a commit c13b857

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ def update_security_folder(self, location, model_type, model_subtype, model_name
8282
property_descriptor = property_map.get(model_key)
8383

8484
if not property_descriptor:
85-
ex = exception_helper.create_exception(self.exception_type, 'WLSDPLY-12128', model_key)
85+
folder_path = self.alias_helper.get_model_folder_path(type_location)
86+
ex = exception_helper.create_exception(self.exception_type, 'WLSDPLY-12128', model_key, folder_path)
8687
self.logger.throwing(ex, class_name=self.__class_name, method_name=_method_name)
8788
raise ex
8889

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
@@ -1159,7 +1159,7 @@ WLSDPLY-12124=Updating {0} "{1}" ({2}) at location {3}
11591159
WLSDPLY-12125=Unable to load bean information for interface {0}
11601160
WLSDPLY-12126=Property descriptor {0}
11611161
WLSDPLY-12127=Updating attribute {0} to {1}
1162-
WLSDPLY-12128=No property descriptor found for attribute {0}
1162+
WLSDPLY-12128=No property descriptor found for attribute {0} at location {1}
11631163
WLSDPLY-12129=Skipping read-only attribute {0}
11641164
WLSDPLY-12130=The set method for attribute {0} has {1} arguments
11651165
WLSDPLY-12131=Unable to invoke method "{0}" with argument {1}: {2}

0 commit comments

Comments
 (0)