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

Validation for Date Lag Time for tasks in Task Templates needs to be shortened

    XMLWordPrintable

Details

    • [Inactive] Just Gantt
    • BigPicture, BigGantt
    • 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 2019/20 BFW+SIW
    • 1 day, 23 hours, 52 minutes, 50 seconds
    • 2 minutes, 37 seconds
    • 1 day, 21 hours, 13 minutes, 31 seconds
    • 55 minutes, 54 seconds
    • 0
    • 0
    • 0
    • $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

      The current validation for Start Date Lag Time and End Date Lag Time allows to enter values consisting of nine characters. It is possible to enter lag times for 999999999 days which makes it over 2 mln years.
      Using such template in Gannt may freeze the browser and make the entire app unusable.

      Repro steps:

      1. Navigate to BP/BG Program Configuration > Gantt > Task Template.
      2. Add new task template.
      3. In both Lag Time fields enter a value of nine characters.
      4. Add a name and create the task.

      Result:
      A Task with a colossal lag times is created.  

      Expected result:
      Both Start Date Lag Time and End Date Lag Time validation limits to max. 4 characters (for example "9999" days). Larger value results with a proper error message.

      Attachments

        Activity

          People

            michal.drobnik Michał Drobnik (Inactive)
            krzysztof.luczak Krzysztof Łuczak
            jacek.ejsmont Jacek Ejsmont (Inactive) , mateusz.kielbowicz Mateusz Kielbowicz , jakub.zygmunt Jakub Zygmunt (Inactive) , michal.drobnik Michał Drobnik (Inactive) , system.gerrit Gerrit , lukasz.pawelczak Łukasz Pawełczak , jerzy.sekula Jerzy Sekula , krzysztof.luczak Krzysztof Łuczak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: