BHoM / BHoM_UI

GNU Lesser General Public License v3.0
9 stars 5 forks source link

BHoM_UI saved data is too persistent #395

Open JosefTaylor opened 3 years ago

JosefTaylor commented 3 years ago

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