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

UpgradeTask fix and re-run is happening in same transaction as original run



    • ExtPlatform
    • BigPicture, BigGantt
    • JIRA server, JIRA cloud
    • $i18n.getText("admin.common.words.hide")
      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";}
    • 4 days, 2 hours, 1 minute, 29 seconds
    • 29 minutes, 13 seconds
    • 14 hours, 49 minutes, 45 seconds
    • 3 hours, 46 minutes, 30 seconds
    • 0
    • 7 seconds
    • 1 week, 1 day, 50 minutes, 24 seconds
    • $i18n.getText("admin.common.words.hide")
      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";}


      Upgrade Task (UT) process (which is a process that modifies the database scheme of the add-on) is running twice. 
      If any error occurs in the first time, we try to fix it and we do a re-run of particular UT. 

      Observed result

      This bug says that this re-run took place in the same technical transaction which leads to unexpected bugs that might hide the real cause of the problem. 

      Expected result
      After this fix possible re-run will take place in a different technical transaction to prevent more non-obvious errors.




            bartlomiej.janczak Bartłomiej Jańczak
            igor.szymanczyk Igor Szymanczyk
            martyna.turowska Martyna Turowska , system.jenkins Jenkins , katarzyna.rajchert Katarzyna Rajchert , grzegorz.duzy Grzegorz Duży , bartlomiej.janczak Bartłomiej Jańczak , system.gerrit Gerrit , igor.szymanczyk Igor Szymanczyk
            0 Vote for this issue
            2 Start watching this issue