| 漏洞 ID 编号 |
BUG-000125565 |
| 已提交 | September 26, 2019 |
| 上次修改时间 | June 5, 2024 |
| 适用范围 | ArcGIS GIS Server |
| 找到的版本 | 10.6.1 |
| 操作系统 | Windows OS |
| 操作系统版本 | 10.0 64 Bit |
| 状态 | Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
|
附加信息
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.
解决办法
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.
重现步骤