Deleted items persisting in page states

Hi all,

I’ve noticed in the last year or so that page states aren’t being cleared when the item is deleted anymore, which always used to be the case. Not particularly difficult to work around, nor all that important to fix, but a slight annoyance that has bugged me for the last year or so and leads to an extra step when dependencies don’t fire.

Unsure if this is a bug or intended behaviour, and I haven’t been able to find any info about it at a glance. Has anybody else noticed this shift, and if so, was it documented somewhere?

Thanks!

Hi @ed19 Yeah, you’re not imagining it, a few of us have noticed the same thing. Bubble used to clear states automatically when the thing they were holding got deleted, and at some point that stopped happening. Now the state just keeps the old reference, even though the item is gone.

I don’t think Bubble ever formally announced a change, so it’s hard to say whether it’s intentional or just a quiet regression. Either way, the current behavior does mean you need that extra workflow step to reset the state so everything downstream updates properly.

If it helps, you can do a quick “Set state → empty” anytime you delete something that might still be stored somewhere on the page. It’s not ideal, but it’s been the most reliable workaround.

1 Like

Thanks! Yeah I thought as much, I got so used to the states being cleared that it’s always:
create workflowrunremember it doesn’t work anymorego back and edit

Such a slight annoyance, but it’s gone on way too long now.