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

Additional name fields cause warnings when trying to do an anonymous backup.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.8.7, 2.9.1
    • 2.8.6, 2.9
    • Libraries
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MDL-49493-master
    • Hide
      1. Go to course and fill all user details for an enrolled person - mainly those in "Additional names" section
      2. try to backup the course with "Anonymize user info" option checked
      3. make sure, that there are no warnings dispayed before the end of backup
      Show
      Go to course and fill all user details for an enrolled person - mainly those in "Additional names" section try to backup the course with "Anonymize user info" option checked make sure, that there are no warnings dispayed before the end of backup

      The following warnings are generated:

      PHP Warning:  call_user_func() expects parameter 1 to be a valid callback, class 'backup_anonymizer_helper' does not have a method 'process_user_firstnamephonetic' in /var/www/vhosts/moodle.org/html/backup/moodle2/backup_custom_fields.php on line 50
      PHP Warning:  call_user_func() expects parameter 1 to be a valid callback, class 'backup_anonymizer_helper' does not have a method 'process_user_middlename' in /var/www/vhosts/moodle.org/html/backup/moodle2/backup_custom_fields.php on line 50
      PHP Warning:  call_user_func() expects parameter 1 to be a valid callback, class 'backup_anonymizer_helper' does not have a method 'process_user_alternatename' in /var/www/vhosts/moodle.org/html/backup/moodle2/backup_custom_fields.php on line 50
      

            mastnym Martin Mastny
            abgreeve Adrian Greeve
            Adrian Greeve Adrian Greeve
            Dan Poltawski Dan Poltawski
            Jetha Chan Jetha Chan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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