laptop and a wrench

漏洞

The application state (appState) user property is not updated after the popup login for a secured map.

上次发布: October 9, 2020 ArcGIS Experience Builder developer edition
漏洞 ID 编号 BUG-000134383
已提交October 6, 2020
上次修改时间August 5, 2025
适用范围ArcGIS Experience Builder developer edition
找到的版本1.1
操作系统Windows OS
操作系统版本10.0 64 Bit
状态In Product Plan

解决办法

Detect the null value of the token before the login, and then check if the token exists in the componentDidUpdate function.

Code snippet:

static mapExtraStateProps = (state: IMState, props: AllWidgetProps<IMConfig>): Props => {

if (!state.token) {

return{

userLog: state.token

};

};

componentDidUpdate(){

const {userLog} = this.props

if (userLog) {

do something

}

else{

do something else`

}

}

}

重现步骤

漏洞 ID: BUG-000134383

软件:

  • ArcGIS Experience Builder developer edition

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项