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

Incorrect title formatting on inplace editable using a string with parameters

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-73025-master
    • Hide
      1. Log in as Admin
      2. Go to "Site administration > Courses > Manage courses and categories" and create a  new course
      3. View this new course and go to the Participants page
      4. Click on "Enrol users"
      5. Select Admin User
      6. Press "Enrol selected users and cohorts" button
      7. Confirm Admin User is on the course participants page
      8. Click on "Admin User's role assignments"
      9. Select Manager role and click "Save changes"
      10. Place your mouse on top of the pencil icon in the roles column and confirm the popup message says "Admin User's role assignments"
      Show
      Log in as Admin Go to "Site administration > Courses > Manage courses and categories" and create a  new course View this new course and go to the Participants page Click on "Enrol users" Select Admin User Press "Enrol selected users and cohorts" button Confirm Admin User is on the course participants page Click on "Admin User's role assignments" Select Manager role and click "Save changes" Place your mouse on top of the pencil icon in the roles column and confirm the popup message says "Admin User's role assignments"

    Description

      If we have an inplace editable element that uses a string with parameters for the title, the title gets formatted wrong after editing the value.

      For example this happens in Course participants page, if we add Admin user and we edit the roles and check the title popup. Same happens when editing column names in Report Builder Custom Reports. 

      Attachments

        Issue Links

          Activity

            People

              davidmatamoros David Matamoros
              davidmatamoros David Matamoros
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Carlos Castillo, David Matamoros, Mikel Martín Corrales, Paul Holden
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 40 minutes
                  40m