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

Database : when a field type is missing the error is displayed for all fields added just after

XMLWordPrintable

    • HQ 2024 Sprint I1.4 Moppies

      Discovered while working on MDL-81267.

      To reproduce,

      • Install a custom field like https://github.com/srobotta/moodle-datafield_email
      • create a new database
      • Use a preset (journal)
      • Create an email field
      • Remove the email plugin file folder (i.e.rm -rf mod/data/field/email/)
      • Refresh the page
      • You should see one error message "The following fields do not have..."
      • Create a new field (short text)
      • You will see two error messages, atlhout one field is really in error.

       

        1. icon_error.png
          icon_error.png
          63 kB
        2. image-2024-04-16-14-20-39-572.png
          image-2024-04-16-14-20-39-572.png
          68 kB
        3. MDL-81564.png
          MDL-81564.png
          279 kB

            laurent.david@moodle.com Laurent David
            laurent.david@moodle.com Laurent David
            Ferran Recio Ferran Recio
            Huong Nguyen Huong Nguyen
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 57 minutes
                3h 57m

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