Posts: 855
Threads: 238
Joined: Nov 2015
Reputation:
96
I think this has something to do with a workflow that I have. I want to invoke a workflow on Invoices I just installed. Therefor I'm editing a non-used field on invoices, just to launch the workflow. The mass-edit stalls after one record and just sits there. On that one record, the workflow IS launched and executed. When I mass-edit on another module (I tried salesorders), the mass-edit seems to work fine. How would I debug this? I want to find out what makes the mass edit stall...
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
debug log and apache error log, there has to be some clue there
Joe
TSolucio
Posts: 855
Threads: 238
Joined: Nov 2015
Reputation:
96
08-28-2018, 10:56 AM
(This post was last modified: 08-28-2018, 11:06 AM by Guido1982.)
I got it to work by temporarily disabling the update financial fields task and another task that syncs every invoice with 3rd party accounting software. I think the second one was the culprit, will test with only that one disabled.
What I do notice is that the mass update screen doesn't give me any feedback untill all is done. So nothing happens for a couple of minutes and then it runs to 100% in a few seconds all of a sudden. I am however updating 400+ records at once that have some extensive workflows attached.
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
Not quite sure how that logic works, we send a message back after each record update but the browser doesn't seem to update as it gets them. I usually see 30/60/100. In any case, it seems to be browser/php communication issue as we even have 2 "flush" after sending the message
Joe
TSolucio
Posts: 855
Threads: 238
Joined: Nov 2015
Reputation:
96
08-28-2018, 03:31 PM
(This post was last modified: 08-28-2018, 03:31 PM by Guido1982.)
Yeah it seems kind of arbitrary. When you edit small sets it seems to work better but when editing large sets it seems the message traffic clogs up somehow...