F
Filament5mo ago
Azorky

Import csv causes infinite loop, bug?

The import action from V3.1 for importing CSV files works perfectly fine on my local environment, but on my server, it's getting stuck in an infinite loop so it seems. When I import, nothing happens in the front-end, but when I look at the database I can see the processed_rows continuously going up:
No description
Solution:
The issue was with multi tenancy where the team could not be retrieved from the session because we switched from a sync queue to redis. Resolved it by getting the team id from the import instead
No description
Jump to solution
4 Replies
Wannes
Wannes5mo ago
hi, did you find this by any chance? having the same problem:/ it only seems to happen on redis, so strange
Azorky
Azorky5mo ago
Reproduced it on local
No description
Azorky
Azorky5mo ago
Still no idea what's going on
Solution
Azorky
Azorky5mo ago
The issue was with multi tenancy where the team could not be retrieved from the session because we switched from a sync queue to redis. Resolved it by getting the team id from the import instead
No description