In Craft CMS 2, I've created a task for updating Craft Commerce products from an Excel file. Everything's working correctly except the UI progression bar. The progression bar in control panel stays at 0 %, even if in database, I see steps increasing. Then when task is finished, it goes directly to the end (100 %) and disappear. I noticed that it will happen if I call for
craft()->commerce_products->saveProduct($product);
If I comment this line, progression works correctly. Any idea on what's going wrong?
totalSteps
value getting set to in the database? And, are you using subtasks at all – or just one parent task? – Brandon Kelly Jan 18 '20 at 16:50