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

Tag editing as user notice

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.5.6, 2.6.3
    • Component/s: Tags
    • Labels:
    • Testing Instructions:
      Hide
      1. Login as a user that has 'moodle/tag:edit' but not 'moodle/tag:manage' at system context.
      2. Add a interest tag to your profile from the edit profile page.
      3. Go to profile view / click on tag / edit tag
      4. Change description and save form
      5. Make sure you get no notices
        PS:- There is an un related error in master MDL-45258
      Show
      Login as a user that has 'moodle/tag:edit' but not 'moodle/tag:manage' at system context. Add a interest tag to your profile from the edit profile page. Go to profile view / click on tag / edit tag Change description and save form Make sure you get no notices PS:- There is an un related error in master MDL-45258
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-44398-master

      Description

      When adjusting the description of a tag and when logged in as a authenticated user this notice is generated:

      Notice: Undefined property: stdClass::$rawname in /fs1/www_root/jb23347/m2/tag/edit.php on line 108 Call Stack: 0.0007 278312 1.

      {main}

      () /fs1/www_root/jb23347/m2/tag/edit.php:0

      This notice is not generated when editing a tag and logged in as admin, or any role with moodle/tag:manage capability at system level.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ankit_frenz Ankit Agarwal
              Reporter:
              jb23347 John Beedell
              Peer reviewer:
              Adrian Greeve
              Integrator:
              Marina Glancy
              Tester:
              Jetha Chan
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/May/14