Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-82518

Incorrect attribute changed test introduced by MDL-80271

XMLWordPrintable

      The issue MDL-80271 caused a regression.

      It tests if attribute changed using != , but it should use !== , with two equal signs.

      The current test fails if the username, for example, is numeric only. Inserting a username 0123 to create user will work, but if you then try to change the username to only 123, it will not work, because the test in the if condition will say it didn't change.

            danielneis Daniel Neis Araujo
            danielneis Daniel Neis Araujo
            Luca Bösch Luca Bösch
            Jun Pataleta Jun Pataleta
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 11 minutes
                11m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.