I have setup a Batch work which looks the following (dump at run time).
The method called for each batch is a public static method, so that is not a problem.
All operations performs perfectly, my nodes are imported in the system, this I'm sure.
The problem is that the Batch progress bar never reaches the 100% and after a few seconds, goes back and forth forever. This clearly happens after all my nodes are processed.
My finished callback is never called and I'm stuck on the Batch API progress bar for years :-)
Any idea on what I could be missing?