Skip to content

Incomplete inner fields #339

Description

@martclanor

Hi,

Noticed a regression where inner fields (children of other fields) are sometimes excluded during the drilldown, except for the first child.

For example, when looking at the gwf-wel component, options block, afrcsv_filerecord field:

spec.components["gwf-wel"].blocks["options"].fields["afrcsv_filerecord"].fields.keys()
# Returns dict_keys(['auto_flow_reduce_csv'])
# Should return dict_keys(['auto_flow_reduce_csv', 'fileout', 'afrcsvfile'])

I checked the v2.0.0 snapshots, and this behavior seems to have been introduced in dev2.

Also, just to add more info, this doesn't seem to be the case for some other inner fields. For example:

spec.components["gwt-ssm"].blocks["sources"].fields["sources"].item.fields.keys()
# Correctly returns all children: dict_keys(['pname', 'srctype', 'auxname'])

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions