Do Search behaves weird in debug mode = true

Hi guys,

I’m having a very strange issue with displaying results in repeating group.

The RG run 100 items from 1 to 100, using Do Search function. Whenver an item is exposed, the workflow write user ID in the record. Then the record with user ID is excluded from the search.

I have a problem: on a random basis, the search result skip one item in the list, create mis-match with counting, and actual display.

I’m investigating to understand this issue. And what I found is that such a problem occurs when the debug mode is on, and step-by-step mode is active.

In this video, The counter should become 100 to 99. But it jumps to 98. (Meaming Do Search function found 2 records)
However in actual DB, there’s only one record found.
When I refresh the page, the counter is back to 99.

The problem is this behavior happens randomly in production, and I don’t understand why.

Here’s my repeating group:

Is it a bug in Bubble?

Look forward to hearing your thoughts.

Thanks.
Ohyoon

This topic was automatically closed after 70 days. New replies are no longer allowed.