Hi Mats,
Thanks for the quick response. I've experimented a little bit with the exporter and was able to produce this error even with infiniteScroll set to false:
Increase the number of events (e.g. 50 resources, 50 events per resource)
Zoom into the schedule (e.g. using the trackpad)
Scroll to the bottom right corner (this also works when not scrolling sometimes, but I was able to reproduce it with scrolling nearly consistently)
Hit export and select a date range with orders (e.g. mid may until mid august)
'Could not scroll to date error' occurs.
An unrelated error occurred for me when I tried to export a schedule with a lot of orders (100 resources * 50 events) while being zoomed in:
Screenshot 2022-05-16 at 10.22.31.png (35.72 KiB) Viewed 952 times
This leads to the export to seem like it is stuck:
Screenshot 2022-05-16 at 10.25.55.png (34.44 KiB) Viewed 952 times
Hello.
First issue with infinite scroll in not reproducible on latest nightly build. In 5.0.5 we released a fix which disabled infinite scrolling during export which probably also fixed your problem: https://github.com/bryntum/support/issues/4667. Please try with latest release to see if you still face the problem.
Speaking of another issue: processExportContent is not a function I suspect it might be related to this note:
I've experimented a little bit with the exporter and was able to produce this error even with infiniteScroll set to false
This function is defined on the feature class instance and it is called after exported has done its job:
Component got destroyed while waiting for the content. Try logging this.isDestroying before this call. If it is destoyed indeed, I'd recommend to postpone destroy until scheduler triggers pdfExport event
It actually doesn't exist because your pdfExport feature uses different class implementation without this function defined. Could you post code related to experiments with exporters? We can check if it is correct and guide you through.
Sorry for the late response.
@Alex: We will update to 5.1.0 asap and check if the error still exist. Thanks for the information!
@Maxim: The things I find are always reproduced with the export example provided on your website. To produce the error I simply followed the steps I mentioned above, so there was no 'custom' code involved, just tweaking the available parameters a little bit. However I am also not able to reproduce these errors anymore, so they might be fixed already with 5.0.5
I invested some time and tested (with your example on 5.0.5) and found one issue still. Parameters like scrolling state, export params and tweaked variables can be extracted from the screenshot.
It seems like infiniteScrolling was not the reason for "could not scroll to date error" (as you said it is disabled by default during export):
could not scroll to date
Screenshot 2022-06-17 at 10.55.47.png (384.94 KiB) Viewed 767 times
However I cam currently not able to produce other errors, so thanks a lot
Not clear from your message if you still have errors in latest version or not.
If you still have it, could you please provide steps to reproduce since we don't see any problems.