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

Events for managing of user profile fields and categories

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.3, 2.7, 3.4
    • Fix Version/s: 3.4
    • Component/s: Events API
    • Labels:
    • Testing Instructions:
      Hide
      Test 1
      1. Log in as the admin.
      2. Visit 'Site administration' > 'Reports' > 'Logs'.
      3. In another tab go to 'Site administration' > 'Users' > 'Accounts' > 'User profile fields'.
      4. Create a new profile category.
      5. Edit the field and change the name and save.
      6. Delete the field.
      7. View the tab where you have the log report open.
      8. Confirm there is an event for creating, updating and deleting the category.
      Test 2
      1. Log in as the admin.
      2. Visit 'Site administration' > 'Reports' > 'Logs'.
      3. In another tab go to 'Site administration' > 'Users' > 'Accounts' > 'User profile fields'.
      4. Create a new profile field.
      5. Edit the field and change the name and save.
      6. Delete the field.
      7. View the tab where you have the log report open.
      8. Confirm there is an event for creating, updating and deleting the field.
      Test 3
      1. Ensure unit tests are passing.
      Show
      Test 1 Log in as the admin. Visit 'Site administration' > 'Reports' > 'Logs'. In another tab go to 'Site administration' > 'Users' > 'Accounts' > 'User profile fields'. Create a new profile category. Edit the field and change the name and save. Delete the field. View the tab where you have the log report open. Confirm there is an event for creating, updating and deleting the category. Test 2 Log in as the admin. Visit 'Site administration' > 'Reports' > 'Logs'. In another tab go to 'Site administration' > 'Users' > 'Accounts' > 'User profile fields'. Create a new profile field. Edit the field and change the name and save. Delete the field. View the tab where you have the log report open. Confirm there is an event for creating, updating and deleting the field. Test 3 Ensure unit tests are passing.
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Epic Link:
    • Pull from Repository:
    • Pull Master Branch:
      MDL-45730_master

      Description

      Create and trigger events for changes in user profiles and categories:

      This issue only deals with changes on the page: Site administration / ► Users / ► Accounts / ► User profile fields
      changing the fields values for particular user is already logged.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jehringer John Ehringer
              Reporter:
              markn Mark Nelson
              Peer reviewer:
              Mark Nelson
              Integrator:
              Jun Pataleta
              Tester:
              Ryan Wyllie
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Nov/17