@@ -258,7 +258,7 @@ def _verify_aliases_at_location(self, generated_dictionary, location, folder_map
258
258
location .get_folder_path (), class_name = CLASS_NAME , method_name = _method_name )
259
259
self ._check_attribute_list_for_flattened (location , attributes )
260
260
# Swallow the intermediate layer that is not relevant in a flattened location
261
- this_dictionary = this_dictionary [this_dictionary .keys ()[0 ]]
261
+ this_dictionary = this_dictionary [this_dictionary .keys ()[2 ]]
262
262
attributes = _get_generated_attribute_list (this_dictionary )
263
263
flattened_folder = True
264
264
self ._check_single_folder (this_dictionary , location , flattened_folder )
@@ -579,7 +579,6 @@ def _is_generated_attribute_readonly(self, location, generated_attribute, genera
579
579
self ._add_error (location , ERROR_FAILURE_ATTRIBUTE_UNEXPECTED ,
580
580
message = 'Generated attribute has no read type' , attribute = generated_attribute )
581
581
return None
582
-
583
582
if alias_get_required_attribute_list is not None and \
584
583
generated_attribute in alias_get_required_attribute_list and CMO_READ_TYPE in generated_attribute_info :
585
584
read_type = generated_attribute_info [CMO_READ_TYPE ]
@@ -1113,6 +1112,8 @@ def _check_complex_type(self, location, generated_attribute, generated_attr_info
1113
1112
if _is_of_type_with_get_required (generated_attribute , alias_type , generated_attr_info ,
1114
1113
get_required_attribute_list ):
1115
1114
valid = True
1115
+ _logger .finer ('alias type JARRAY has get_required for attribute {0}' , generated_attribute ,
1116
+ class_name = CLASS_NAME , method_name = _method_name )
1116
1117
elif _is_of_type_with_lsa (generated_attribute , alias_type , generated_attr_info ,
1117
1118
get_required_attribute_list ):
1118
1119
valid = True
0 commit comments