-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Batch execute suddenly stop working #2661
Comments
Hi. I was able to repro this using the SPBrowser. We'll take a look and see what the issue may be. Thanks! |
Did it work and then you updated the library version? I ask because that would allow us to identify the code change potentially that led to trouble. If you could share the last working version it might help. |
Thank you Patrick, my fault I didn't try this before. The last version working is the 3.11.0. I've tested 3.12.0, 3.12.1, 3.13.0 and 3.14.0 but in all these versions the behaviour is the same. |
I have located the issue, and working on a fix. Thank you for reporting this. |
Fixed, will be in the next release. Thanks for reporting it! |
This issue is locked for inactivity or age. If you have a related issue please open a new issue and reference this one. Closed issues are not tracked. |
Category
Version
Please specify what version of the library you are using: [3.14.0]
Please specify what version(s) of SharePoint you are targeting: [SPO]
Expected / Desired Behavior / Question
How to debug an
execute
command that doesn't execute operations?Could the Sharepoint configuration prevent the batching to work?
Observed Behavior
From one day to another, a function created to execute in a batch some operations halts just after the
await execute()
command: no messages are shown in the browser console and no new calls are made in the network panel.The PnPLogging dumps this data:
The function was created months ago and worked without problems. No further changes has been done recently to the initialization of the sp object or other parts used by this feature. Even checking out an older versions of the code the problem persists.
Steps to Reproduce
I cannot paste the real code, I've create an example function that dumps the log above:
The list has been created programmatically with pnpjs or manually via Sharepoint UI; as developer I don't have access to the main site configuration or the Sharepoint installation, so I didn't do any changes that could affect the behaviour but I don't even know if there are any.
Thanks for any suggestion!
The text was updated successfully, but these errors were encountered: