| Número de ID del error |
BUG-000125565 |
| Enviado | September 26, 2019 |
| Última modificación | June 5, 2024 |
| Relacionado con | ArcGIS GIS Server |
| Versión encontrada | 10.6.1 |
| Sistema operativo | Windows OS |
| Versión de sistema operativo | 10.0 64 Bit |
| Estado | Will Not Be Addressed
El equipo de desarrollo ha considerado el problema o la solicitud y ha llegado a la conclusión de que no se va a solucionar. La sección Información adicional del problema puede contener más explicaciones.
|
Información adicional
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.
Solución alternativa
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.
Pasos para reproducir