BHoM / BHoM/BHoM_UI

BHoM_UI saved data is too persistent

Open
#395 0 comments 0 reactions 1 assignee Claimed by @adecler View on GitHub
type:bug
Dominant language
C#
Stars
9
Forks
6
PR merge metrics
No merged PRs in 30d

Description

#### 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):

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.