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

Add MoodleNet profile information into the user table / object / profile

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.9
    • Fix Version/s: None
    • Component/s: Other
    • Testing Instructions:
      Hide
      1. Start with a version of 3.8 without the tool_moodlenet plugin installed.
      2. Create a user profile category and set the name to MoodleNet
        1. As an admin go to Site administration > Users > Accounts > User profile field
        2. At the bottom click the "Create a new profile category"
        3. Enter in "MoodleNet" (must be exact) and click "Save changes"
      3. Create a user profile text field and set the shortname to mnetprofile
        1. Same page as above for creating the category, select "Text input" from the "create a new profile field"
        2. The first field (Short name) must be "mnetprofile" (all lower case). The other fields can be what ever you like.
      4. Install the plugin tool_moodlenet
      5. Go to the custom profile fields page and check that there is now another category MoodleNet1 with a profile field under that with a shortname of mnetprofile1
        1. Once again you can go to Site administration > Users > Accounts > User profile field to view the categories.
      6. With some user's on the system, go to their profile and edit it, updating the MoodleNet Profile field (at the bottom) with some content. Make note of who and what you have updated.
        1. Log in as a student
        2. Click on the user menu in the top right hand corner and select "Profile"
        3. Click the "Edit profile" link in the "user details" section.
        4. Right at the bottom should be a category called "MoodleNet1" expand this node
        5. Enter in some text in the "MoodleNet profile" field. Keep a note of this to make sure it is migrated in master properly.
      7. Upgrade to master. We now want to check that the information in the profile field has been transfered to the user table.
      8. Go to the profile of one of the user's that you updated the MoodleNet profile for.
        1. Log in as a student
        2. Click on the user menu in the top right hand corner and select "Profile"
        3. Click the "Edit profile" link in the "user details" section.
        4. Check that there is now a MoodleNet profile field below "Email display".
        5. Check that the field has the same information that used to exist in the MoodleNet1 - MoodleNet profile.
      9. Go to the custom profile fields page and check that the category MoodleNet1 and related field have been removed.
        1. As an administrator go to Site administration > Users > Accounts > User profile field
        2. Check that the category "MoodleNet1" no longer exists.
      Show
      Start with a version of 3.8 without the tool_moodlenet plugin installed. Create a user profile category and set the name to MoodleNet As an admin go to Site administration > Users > Accounts > User profile field At the bottom click the "Create a new profile category" Enter in "MoodleNet" (must be exact) and click "Save changes" Create a user profile text field and set the shortname to mnetprofile Same page as above for creating the category, select "Text input" from the "create a new profile field" The first field (Short name) must be "mnetprofile" (all lower case). The other fields can be what ever you like. Install the plugin tool_moodlenet Go to the custom profile fields page and check that there is now another category MoodleNet1 with a profile field under that with a shortname of mnetprofile1 Once again you can go to Site administration > Users > Accounts > User profile field to view the categories. With some user's on the system, go to their profile and edit it, updating the MoodleNet Profile field (at the bottom) with some content. Make note of who and what you have updated. Log in as a student Click on the user menu in the top right hand corner and select "Profile" Click the "Edit profile" link in the "user details" section. Right at the bottom should be a category called "MoodleNet1" expand this node Enter in some text in the "MoodleNet profile" field. Keep a note of this to make sure it is migrated in master properly. Upgrade to master. We now want to check that the information in the profile field has been transfered to the user table. Go to the profile of one of the user's that you updated the MoodleNet profile for. Log in as a student Click on the user menu in the top right hand corner and select "Profile" Click the "Edit profile" link in the "user details" section. Check that there is now a MoodleNet profile field below "Email display". Check that the field has the same information that used to exist in the MoodleNet1 - MoodleNet profile. Go to the custom profile fields page and check that the category MoodleNet1 and related field have been removed. As an administrator go to Site administration > Users > Accounts > User profile field Check that the category "MoodleNet1" no longer exists.
    • Affected Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-67885-master-v2
    • Story Points:
      3
    • Sprint:
      Activity Sprint 8, Activity Sprint 9

      Description

      User story Approach
      As a user I can add my MoodleNet profile details to my user profile When creating or updating a user, there is a field for a link to the user's MoodleNet profile.
      • This is used to redirect the user to that profile when leaving Moodle to MoodleNet.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abgreeve Adrian Greeve
              Reporter:
              abgreeve Adrian Greeve
              Peer reviewer:
              Jake Dallimore Jake Dallimore
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 1 day, 6 hours, 1 minute
                  1w 1d 6h 1m