Unverified Commit 3aa34bc7 authored by muzhongjiang's avatar muzhongjiang Committed by GitHub
Browse files

[bugfix] "getNotifyGroupList" cache bug #3179 (#3200)



* add state

* fixed bug "jackson enum conversion  : InvalidFormatException"

* Word spelling modification
Comment modification
Word spelling modification,Comment modification,Log level modification

* Update EmailManager.java

* Update FlinkParameters.java

* Update SqlTask.java

* fixed  "getNotifyGroupList cache"  bug

Co-authored-by: default avatarmzjnumber1@163.com <mzjnumber1@163.com>
Co-authored-by: default avatardailidong <dailidong66@gmail.com>
parent a7aa58e6
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -76,14 +76,9 @@
        return '-'
      },
      _getNotifyGroupList () {
        let notifyGroupListS = _.cloneDeep(this.store.state.dag.notifyGroupListS) || []
        if (!notifyGroupListS.length) {
          this.store.dispatch('dag/getNotifyGroupList').then(res => {
            this.notifyGroupList = res
          })
        } else {
          this.notifyGroupList = notifyGroupListS
        }
      },
      _getWorkerGroupList () {
        let stateWorkerGroupsList = this.store.state.security.workerGroupsListAll || []
+0 −6
Original line number Diff line number Diff line
@@ -243,16 +243,10 @@
      },
      _getNotifyGroupList () {
        return new Promise((resolve, reject) => {
          let notifyGroupListS = _.cloneDeep(this.store.state.dag.notifyGroupListS) || []
          if (!notifyGroupListS.length) {
            this.store.dispatch('dag/getNotifyGroupList').then(res => {
              this.notifyGroupList = res
              resolve()
            })
          } else {
            this.notifyGroupList = notifyGroupListS
            resolve()
          }
        })
      },
      _getReceiver () {
+0 −6
Original line number Diff line number Diff line
@@ -280,8 +280,6 @@

      _getNotifyGroupList () {
        return new Promise((resolve, reject) => {
          let notifyGroupListS = _.cloneDeep(this.store.state.dag.notifyGroupListS) || []
          if (!notifyGroupListS.length) {
            this.store.dispatch('dag/getNotifyGroupList').then(res => {
              this.notifyGroupList = res
              if (this.notifyGroupList.length) {
@@ -290,10 +288,6 @@
                reject(new Error(0))
              }
            })
          } else {
            this.notifyGroupList = notifyGroupListS
            resolve()
          }
        })
      },
      ok () {