Issue with Print widget in 4.20

264
1
Jump to solution
07-07-2021 05:35 AM
MatthieuThery1
Occasional Contributor

Hi,

Since 4.20 we are having issues printing with our own Print Service, via the Print widget. We're getting an error when hovering over the exported files section "An error occured while exporting the webmap.". 

I have tested the widget with the ESRI Print Service and it does work. The only difference I can see, is our service is asynchronous.

I assume this is linked to the changes related to the rest modules? 

 

edit: More info

stack error: "TypeError: Cannot destructure property 'returnFeatureCollection' of 's' as it is null. at p.fetchResultData (http://localhost:8080/js/33.js:211:1559) at o (http://localhost:8080/js/46.js:39:926) at async print (http://localhost:8080/js/84.js:156:1933)"

ps: we changed our service to synchronous, and it works again. (but we'd like a fix for the async method...)

Tags (3)
1 Solution

Accepted Solutions
ReneRubalcava
Frequent Contributor

This will be fixed on the CDN in a day or two. My bad.

View solution in original post

0 Kudos
1 Reply
ReneRubalcava
Frequent Contributor

This will be fixed on the CDN in a day or two. My bad.

View solution in original post

0 Kudos