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

User profile field shortname uniqueness is evaluated case insensitive

XMLWordPrintable

      When creating two user profile fields in moodle 4.4, for example, with shortnames "abc" and "ABC", the user list throws an exception.

      There are no problems in moodle 4.3 with such shortnames.

       

      Debug message:
      Callback before_footer in filter_translations component should be migrated to new hook callback for core\hook\output\before_footer_html_generation * line 7485 of /lib/moodlelib.php: call to debugging()

      • line 7549 of /lib/moodlelib.php: call to {closure}()
      • line 71 of /lib/classes/hook/output/before_footer_html_generation.php: call to get_plugins_with_function()
      • line 1503 of /lib/outputrenderers.php: call to core\hook\output\before_footer_html_generation->process_legacy_callbacks()
      • line 3119 of /lib/outputrenderers.php: call to core_renderer->footer()
      • line 471 of /lib/setuplib.php: call to core_renderer->fatal_error()
      • line ? of unknownfile: call to default_exception_handler()
        Coding error detected, it must be fixed by a programmer: Duplicate filter identifier

      More information about this error
      Debug info: user:profilefield_lan
      Error code: codingerror×Dismiss this notification
      Stack trace: * line 617 of /reportbuilder/classes/local/report/base.php: coding_exception thrown

      • line 245 of /admin/classes/reportbuilder/local/systemreports/users.php: call to core_reportbuilder\local\report\base->add_filter()
      • line 180 of /admin/tool/tenant/classes/reportbuilder/local/systemreports/users.php: call to core_admin\reportbuilder\local\systemreports\users->add_filters()
      • line 112 of /admin/classes/reportbuilder/local/systemreports/users.php: call to tool_tenant\reportbuilder\local\systemreports\users->add_filters()
      • line 93 of /admin/tool/tenant/classes/reportbuilder/local/systemreports/users.php: call to core_admin\reportbuilder\local\systemreports\users->initialise()
      • line 106 of /reportbuilder/classes/local/report/base.php: call to tool_tenant\reportbuilder\local\systemreports\users->initialise()
      • line 70 of /reportbuilder/classes/system_report.php: call to core_reportbuilder\local\report\base->__construct()
      • line 68 of /reportbuilder/classes/manager.php: call to core_reportbuilder\system_report->__construct()
      • line 56 of /reportbuilder/classes/system_report_factory.php: call to core_reportbuilder\manager::get_report_from_persistent()
      • line 65 of /admin/tool/tenant/classes/local/callbacks/admin_users_page.php: call to core_reportbuilder\system_report_factory::create()
      • line 7831 of /lib/moodlelib.php: call to tool_tenant\local\callbacks\admin_users_page::create_user_report()
      • line 184 of /admin/user.php: call to component_class_callback()

      The error has similarities with MDL-80264 and MDL-73461.

            pholden Paul Holden
            ipasanec Immanuel Pasanec
            Pedro Jordao Pedro Jordao
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 7 minutes
                4h 7m

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