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

Exception during upgrade to 5.0 (migrating existing filter data for reportbuilder)

XMLWordPrintable

    • MOODLE_500_STABLE

      could be caused by MDL-83345

      Upgrading to new version
      Language import utility: en_wp
      Language pack 'en_wp' is up-to-dateDismiss this notification
      System
      Error writing to database
       
      More information about this error
       
      Debug info: Duplicate entry '10-2' for key 'mdl_reportbuilder_user_filter.mdl_repouserfilt_repuse_uix'
      INSERT INTO mdl_reportbuilder_user_filter (reportid,filterdata,usercreated,usermodified,timecreated,timemodified) VALUES(?,?,?,?,?,?)
      [array (
      0 => 10,
      1 => '{"user:fullname_operator":"0","job:department_department":"0","job:department_subdepartments":0,"job:position_position":"0","job:position_subpositions":0,"job:showpast_value":"0"}',
      2 => 2,
      3 => 2,
      4 => 1744044014,
      5 => 1744044014,
      )]
      Error code: dmlwriteexceptionDismiss this notification
      Stack trace:
      line 500 of /lib/dml/moodle_database.php: dml_write_exception thrown
      line 346 of /lib/dml/moodle_read_replica_trait.php: call to moodle_database->query_end()
      line 1448 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->query_end()
      line 1494 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
      line 1287 of /lib/db/upgrade.php: call to mysqli_native_moodle_database->insert_record()
      line 1871 of /lib/upgradelib.php: call to xmldb_main_upgrade()
      line 525 of /admin/index.php: call to upgrade_core()
      

            Unassigned Unassigned
            marina Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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