| Bug-ID-Nummer |
BUG-000125565 |
| Eingereicht | September 26, 2019 |
| Zuletzt geändert | June 5, 2024 |
| Gilt für | ArcGIS GIS Server |
| Gefunden in Version | 10.6.1 |
| Betriebssystem | Windows OS |
| Betriebssystemversion | 10.0 64 Bit |
| Status | Will Not Be Addressed
Das Entwicklungsteam hat das Problem bzw. die Anforderung sorgfältig geprüft und ist zu dem Schluss gekommen, es nicht zu beheben bzw. keine weiteren Schritte zu unternehmen. Weitere Erläuterungen finden Sie ggf. im Abschnitt "Zusätzliche Informationen" des jeweiligen Problems.
|
Zusätzliche Informationen
Please add
esriConfig.defaults.io.corsEnabledServers.push({
host: "serverUrl",
withCredentials: true
});
to the application. This should get past the CORS errors. As for why it happens on only circle/ellipse and not the other geometry types, it could be with how the request is being processed. If the request exceeds 2000 characters, it automatically POSTS it. Adding this bit should get around that issue.
Workaround
This issue does not happen with ArcGIS API for JavaScript 4.x or with the following ArcGIS Enterprise 10.71 setups:
- Deploy the sample app on the same server where the GIS service is published. This is an IWA enabled standalone server.
- Deploy the sample app on the same server where Portal for ArcGIS or GIS server are installed. This is an IWA enabled Portal for ArcGIS environment.
- Deploy the sample app on the different server where Portal for ArcGIS or GIS server are installed. This is an IWA enabled Portal for ArcGIS environment.
- IWA disabled.
Schritte zur Reproduzierung