Uploaded image for project: 'ngrinder'
  1. ngrinder
  2. NGRINDER-668

Fix wrong test schedule calculation when browser timezone and user specified timezone are different

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.2
    • Fix Version/s: 3.2.3
    • Component/s: controller
    • Labels:
      None

      Description

      Current implementation of test scheduling mistakely takes the browser timezone and user specified timezone in login page.
      It gets the test execution schedule with browser timezone and it's converted to user specified timezone in the server side.
      In case that those are same, it doesn't cause the problem but if they are different, It calculates the wrong schedule.
      We need to fix this by deleting the server side timezone converting and making test schedule calculated in the browser side applying the user specified timezone.

        Activity

        Hide
        junoyoon JunHo Yoon added a comment -

        Now the test schedule is calculated only by the javascript. Users only see the test schedule following the user specified timezone but internally the javascript passes the new test schedule to the server follows the browser timezone.

        Show
        junoyoon JunHo Yoon added a comment - Now the test schedule is calculated only by the javascript. Users only see the test schedule following the user specified timezone but internally the javascript passes the new test schedule to the server follows the browser timezone.

          People

          • Assignee:
            junoyoon JunHo Yoon
            Reporter:
            junoyoon JunHo Yoon
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: