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

Manage LTI tools page throws an exception

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      Adding a tool type
      1. Go to Site administration ► Plugins ► Activity modules ► External tool ► Manage tools
      2. Paste the following URL in the "Add tool" box: https://www.eduappcenter.com/configurations/mscyn3vblg2yfun2.xml?site_url=http%3A%2F%2Fmyq2a.url (taken from https://www.eduappcenter.com/apps/6#.V1kIhZ5Z5Qs)
        • Confirm that there is no error dialogue displayed
        • Confirm that the tool is successfully created and displayed
      Updating a tool type's name
      1. Edit the tool's name by clicking on it. Enter a value like

        Hello <b>world!</b>
        

      2. Press enter.
        • Confirm that there is no error dialogue shown.
        • Confirm that the tags have been stripped and only shows "Hello world!" and the "world!" part is not in bold.
      Updating a tool type's description
      1. Edit the tool's description by clicking on it. Enter a value like

        Hello <b>world!</b>
        

      2. Press enter.
        • Confirm that there is no error dialogue shown.
        • Confirm that the tags have been stripped and only shows "Hello world!" and the "world!" part is not in bold.
      Tool type on activity chooser
      1. Click on the cog on the tool type's box.
      2. Select Show in activity chooser and as preconfigured tool in Show when creating activities under Tool settings.
      3. Click Save changes.
      4. Create a course.
      5. Turn editing on for that course.
      6. In one of the sections, click Add an activity or resource
      7. Under Activities, select the tool type. Check it's description.
        • Confirm that the tags have been stripped and only shows "Hello world!" and the "world!" part is not in bold.
      Show
      Adding a tool type Go to Site administration ► Plugins ► Activity modules ► External tool ► Manage tools Paste the following URL in the "Add tool" box: https://www.eduappcenter.com/configurations/mscyn3vblg2yfun2.xml?site_url=http%3A%2F%2Fmyq2a.url (taken from https://www.eduappcenter.com/apps/6#.V1kIhZ5Z5Qs ) Confirm that there is no error dialogue displayed Confirm that the tool is successfully created and displayed Updating a tool type's name Edit the tool's name by clicking on it. Enter a value like Hello <b>world!</b> Press enter. Confirm that there is no error dialogue shown. Confirm that the tags have been stripped and only shows " Hello world! " and the "world!" part is not in bold. Updating a tool type's description Edit the tool's description by clicking on it. Enter a value like Hello <b>world!</b> Press enter. Confirm that there is no error dialogue shown. Confirm that the tags have been stripped and only shows " Hello world! " and the "world!" part is not in bold. Tool type on activity chooser Click on the cog on the tool type's box. Select Show in activity chooser and as preconfigured tool in Show when creating activities under Tool settings. Click Save changes . Create a course. Turn editing on for that course. In one of the sections, click Add an activity or resource Under Activities, select the tool type. Check it's description. Confirm that the tags have been stripped and only shows " Hello world! " and the "world!" part is not in bold.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-54877-master-clean-on-output
    • Sprint:
      3.2 Sprint 2

      Description

      Replication instructions:

      1. Go to Site administration / ► Plugins / ► Activity modules / ► External tool / ► Manage tools
      2. Paste the following URL in the "Add tool" box: https://www.eduappcenter.com/configurations/mscyn3vblg2yfun2.xml?site_url=http%3A%2F%2Fmyq2a.url (taken from https://www.eduappcenter.com/apps/6#.V1kIhZ5Z5Qs)
      3. Now the exception popup appears on each page load and tool does not appear (impossible to delete it)

      Similar situation:

      1. Create any tool
      2. Edit description inline and put "hello <b>test</b>" in it
      3. Another unattractive exception popup appears

        Attachments

          Activity

            People

            Assignee:
            jpataleta Jun Pataleta
            Reporter:
            marina Marina Glancy
            Peer reviewer:
            Frédéric Massart
            Integrator:
            Andrew Nicols
            Tester:
            Adrian Greeve
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jul/16