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

Tool description is not displayed in the activity chooser

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Prerequisites:
      You'll need an existing course with a teacher enrolled.

      Test Steps:
      As an Admin user, you'll first need to create two new preconfigured tools for site-wide use:

      Create a tool with a non-empty description (Tool A):

      1. Site Admin > Plugins > Activity Modules > LTI > Manage Tools
      2. Click 'Configure a tool manually' in the Add Tool section.
      3. Enter values for name, URL, and description and save. You should see your tool listed at the bottom of the page and it should be listed as active.

      Create a tool with an empty description (Tool B):

      1. Site Admin > Plugins > Activity Modules > LTI > Manage Tools
      2. Click 'Configure a tool manually' in the Add Tool section.
      3. Enter values for name, URL (leave the description field blank) and save. You should see your tool listed at the bottom of the page and it should be listed as active.

      Now, as the enrolled Teacher, you'll check the help text on the activity picker, when selecting a tool pre-configured by the admin.

      1. Log in and navigate to the course home.
      2. Enable editing, and click 'Add and activity or course'. You should see your pre-configured tool listed here.
      3. Select Tool A and confirm that:
        a) You see the description text in the right pane.
        b) You see a link to docs below the description text.
      4. Select Tool B and confirm that:
        a) You see only a generic message stating that there is no help available for this activity or resource.
      5. Select a default module and confirm that:
        a) You see the description text in the right pane.
        b) You see a link to docs below the description text.

      Also check that creating a tool as a Teacher gives the same results:

      1. Click course name to get to course home page.
      2. Enable editing
      3. Click 'Add an activity or resource'
      4. Select 'External Tool' and click 'Add'.
      5. Next to the 'Preconfigured tool' drop down, click the plus symbol to add a new tool.
      6. Fill out the resulting form, making sure to enter a value for description (Tool C).
      7. Repeat the above steps to create a tool with an empty description (Tool D).
      8. Now, navigate back to course home, click 'Add an activity or resource' and confirm you see your new tool in the picker.
      9. Select Tool C and confirm that:
        a) You see the description text in the right pane.
        b) You see a link to docs below the description text.
      10. Select Tool D and confirm that:
        a) You see only a generic message stating that there is no help available for this activity or resource.
      Show
      Prerequisites: You'll need an existing course with a teacher enrolled. Test Steps: As an Admin user, you'll first need to create two new preconfigured tools for site-wide use: Create a tool with a non-empty description (Tool A): Site Admin > Plugins > Activity Modules > LTI > Manage Tools Click 'Configure a tool manually' in the Add Tool section. Enter values for name, URL, and description and save. You should see your tool listed at the bottom of the page and it should be listed as active. Create a tool with an empty description (Tool B): Site Admin > Plugins > Activity Modules > LTI > Manage Tools Click 'Configure a tool manually' in the Add Tool section. Enter values for name, URL (leave the description field blank) and save. You should see your tool listed at the bottom of the page and it should be listed as active. Now, as the enrolled Teacher, you'll check the help text on the activity picker, when selecting a tool pre-configured by the admin. Log in and navigate to the course home. Enable editing, and click 'Add and activity or course'. You should see your pre-configured tool listed here. Select Tool A and confirm that : a) You see the description text in the right pane. b) You see a link to docs below the description text. Select Tool B and confirm that : a) You see only a generic message stating that there is no help available for this activity or resource. Select a default module and confirm that : a) You see the description text in the right pane. b) You see a link to docs below the description text. Also check that creating a tool as a Teacher gives the same results: Click course name to get to course home page. Enable editing Click 'Add an activity or resource' Select 'External Tool' and click 'Add'. Next to the 'Preconfigured tool' drop down, click the plus symbol to add a new tool. Fill out the resulting form, making sure to enter a value for description (Tool C). Repeat the above steps to create a tool with an empty description (Tool D). Now, navigate back to course home, click 'Add an activity or resource' and confirm you see your new tool in the picker. Select Tool C and confirm that : a) You see the description text in the right pane. b) You see a link to docs below the description text. Select Tool D and confirm that : a) You see only a generic message stating that there is no help available for this activity or resource.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-54128_masterv2

      Description

      Steps to recreate:

      1. Log in as an admin and add a preconfigured tool with tool description.
      2. Go to a course, turn editing on and click the 'Add an activity or resource' link.
      3. Select the preconfigured tool.

      Expected result: The tool description is displayed in the right column.

      Actual result: The text 'There is currently no help associated with this resource or activity' is displayed.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  23/May/16