Skip to content

BHoM_UI saved data is too persistent #395

@JosefTaylor

Description

@JosefTaylor

Description:

If I create a Pull, requesting elements of type Panel, set active to True, and then toggle to False, the pulled panels are saved; this is great! But then, while the pull is de-activated, if I disconnect the Panel request, and change it to a Bar request, the saved panels are still being output by the Pull. Even if I disconnect the request entirely, activate the Pull (which throws an error, as expected), when I de-activate and then re-connect the panel request, I see those saved panels again. I could instead connect a bar request- it doesn't matter what I put in, I'm going to get the saved panels back as long as the Pull doesn't error out.

Steps to reproduce:

Expected behaviour:

Saved output data should be destroyed when the inputs no longer match the ones which produced the original data, with the possible exception of Adapter, and of course Active.

Test file(s):

Metadata

Metadata

Assignees

Labels

type:bugError or unexpected behaviour

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions