| Numéro d’ID de bogue |
BUG-000125565 |
| Envoi | September 26, 2019 |
| Dernière modification | June 5, 2024 |
| S’applique à | ArcGIS GIS Server |
| Version trouvée | 10.6.1 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 64 Bit |
| Statut | Will Not Be Addressed
L’équipe de développement a examiné le problème ou la demande et a décidé qu’ils ne seraient pas traités. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
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.
Solution de contournement
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.
Étapes pour reproduire