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

Custom profile fields with the same name as user profile fields cause exception on profile page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.9, 3.0
    • Fix Version/s: 2.9.2
    • Component/s: Navigation
    • Labels:

      Description

      I recently upgrade to Moodle 2.9 but when the students want to access their profiles have the below message
      Debug info:
      Error code: codingerror
      Stack trace:

      line 62 of \user\classes\output\myprofile\tree.php: coding_exception thrown
      line 380 of \lib\myprofilelib.php: call to core_user\output\myprofile\tree->add_node()
      line 53 of \user\classes\output\myprofile\manager.php: call to core_myprofile_navigation()
      line 220 of \user\profile.php: call to core_user\output\myprofile\manager::build_tree()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              legramajo Ligia Gramajo
              Peer reviewer:
              Ankit Agarwal
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Simey Lameze
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Sep/15