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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.6, 2.9
    • Fix Version/s: 2.8.7, 2.9.1
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-49493-master

      Description

      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
      

        Attachments

          Activity

            People

            Assignee:
            mastnym Martin Mastny
            Reporter:
            abgreeve Adrian Greeve
            Peer reviewer:
            Adrian Greeve
            Integrator:
            Dan Poltawski
            Tester:
            Jetha Chan
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              6/Jul/15