Uploaded image for project: 'ONE'
  1. ONE
  2. ONE-36105

Error while adding user profile

    XMLWordPrintable

Details

    • No
    • Infrastructure
    • BigPicture, BigGantt, BigTemplate
    • JIRA server, JIRA cloud
    • $i18n.getText("admin.common.words.hide")
      $i18n.getText("admin.common.words.show")
      var cfToHide1 = document.getElementById("rowForcustomfield_18501"); if(cfToHide1){cfToHide1.style.display="none";} var cfToHide2 = document.getElementById("rowForcustomfield_18502"); if(cfToHide2){cfToHide2.style.display="none";} var cfToHide3 = document.getElementById("rowForcustomfield_19700"); if(cfToHide3){cfToHide3.style.display="none";} var cfToHide4 = document.getElementById("rowForcustomfield_18400"); if(cfToHide4){cfToHide4.style.display="none";}
    • Sprint 2021/15 SIW
    • PI2021/4
    • 4 weeks, 2 days, 5 hours, 39 minutes, 48 seconds
    • 22 hours, 29 minutes, 56 seconds
    • 19 hours, 25 minutes, 7 seconds
    • 2 hours, 37 minutes, 58 seconds
    • 1 hour, 57 minutes, 23 seconds
    • 18 hours, 26 minutes, 32 seconds
    • 8 weeks, 11 hours, 27 minutes, 15 seconds
    • $i18n.getText("admin.common.words.hide")
      $i18n.getText("admin.common.words.show")
      var cfToHide1 = document.getElementById("rowForcustomfield_21302"); if(cfToHide1){cfToHide1.style.display="none";} var cfToHide2 = document.getElementById("rowForcustomfield_19201"); if(cfToHide2){cfToHide2.style.display="none";} var cfToHide3 = document.getElementById("rowForcustomfield_19300"); if(cfToHide3){cfToHide3.style.display="none";} var cfToHide4 = document.getElementById("rowForcustomfield_19301"); if(cfToHide4){cfToHide4.style.display="none";} var cfToHide5 = document.getElementById("rowForcustomfield_19302"); if(cfToHide5){cfToHide5.style.display="none";} var cfToHide6 = document.getElementById("rowForcustomfield_19303"); if(cfToHide6){cfToHide6.style.display="none";} var cfToHide7 = document.getElementById("rowForcustomfield_19204"); if(cfToHide7){cfToHide7.style.display="none";} var cfToHide8 = document.getElementById("rowForcustomfield_19205"); if(cfToHide8){cfToHide8.style.display="none";}

    Description

      User profile which is created when app is used for the first time had a problem with http req to db. In this case there are two request at the same time trying to add new user do db and check if he already exists. But DB table has unique constraint so both requests at the same time cause error. Problem was fix by creating a mechanizm that stops one of the requests to make it wait until first one is done.

      Attachments

        Activity

          People

            maciej.kobierecki Maciej Kobierecki (Inactive)
            maciej.kobierecki Maciej Kobierecki (Inactive)
            system.jenkins Jenkins , martyna.turowska Martyna Turowska , system.gerrit Gerrit , tom.kucharski Tom Kucharski , kamila.kornatko Kamila Kornatko , lukasz.michalak Ɓukasz Michalak (Inactive) , maciej.kobierecki Maciej Kobierecki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: