Read 1 object, but datasource is still empty

I am not sure if this is a bug, or if I am overlooking something. I have a problem with a data source sometimes shows too many, and sometimes too few objects when it is filtered. Most of the time it works as expected.

I opened the log, to see what happens when the filtered data source showed too few objects. It seems like 1 object is read to the runtime datasource (which is correct), but the datasource still shows 0 objects both in the UI table and in devtools.

Could this be caused by some kind of race condition in Appfarm?

Hi,

Do you have i client filter on that runtime only datasource you read into?

Hi,

Thanks for the quick reply!

No, I do not have a client filter on.

Ok, strange. And this just happens sometimes? Not consequently reproducable?

I will see if I can find a reproducible pattern, but I have not found one yet. Just now I ran into this issue, which prevents me from testing the app:

I wonder if this is somehow related to the action described in “Data source contains objects that should be filtered away” which runs it self.

A potensial cause for the issue:

We were reading to the data source several times, in a parallel block using “add to data source (merge duplicates)”. One of the reads had, “replace all objects”. I fixed that, and have not seen the issue since, but I am not confident that it has disappeared because it only occurred sometimes.

If this was the cause, the log did not show the action node log in the order that the action nodes were completed.

Hi,

Can this be related to the other issue / post your had?

Yes, the issue occurs in the same datasources and action. This issue is either resolved or less frequent than the other.