Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-2090

isUser() expert rule check is case sensitive

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.5.3
    • Component/s: Course
    • Labels:
      None

      Description

      How to reproduce

      • Create a user with a username that contains lower and uppercase characters, e.g. "JoeDoe"
      • Make sure it is really persisted like this in the database (depends on database)
      • Create course
      • In the editor create an an expert access condition like this:
        isUser("JoeDoe")
        

        and

        isUser("joedoe")
        
      • Login as JoeDoe, test rules
        => lowercase isUser check does not match

        Attachments

          Activity

            People

            Assignee:
            gnaegi Florian Gnägi
            Reporter:
            gnaegi Florian Gnägi
            Tester:
            Dirk Furrer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

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