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

Activity auto linking filter breaks when similar activity names are used

XMLWordPrintable

    • MOODLE_26_STABLE
    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • wip-MDL-46280-master
    • Hide

      Where one activity includes the name of another, include characters that discretely identify each activity somehow.

      Show
      Where one activity includes the name of another, include characters that discretely identify each activity somehow.
    • Hide
      1. Make sure that filter autolinking activities name is enabled
      2. Create activities in the course with similar names, such as "forum", "some forum", "some forum new", "forum new" etc.
      3. Add a label (or block or any other text content in the course) that mentions those activities
      4. Make sure the links are created to the appropriate activities
      Show
      Make sure that filter autolinking activities name is enabled Create activities in the course with similar names, such as "forum", "some forum", "some forum new", "forum new" etc. Add a label (or block or any other text content in the course) that mentions those activities Make sure the links are created to the appropriate activities

      Activity auto linking does not pick up correct activity if the activity is given a similar name.

      For example:
      "Session 1 – Help Forum" and just plain "Help Forum”, the activity auto-linking filter is picking up the latter, even when you type in the full “Session 1 – Help Forum”.

      Replication steps:

      1. Enable the Activity names filter
      2. Create two activities in a course with similar names (ie. Session 1 – Help Forum and Help Forum)
      3. Add an HTML block to the course
      4. Configure the HTML block and type in the name of one activity (ie. Session 1 - Help Forum)

      Actual result: The link will show up and be linked to 'Help Forum' and not 'Session 1 - Help Forum'.

      Expected result: ??? It is not clear which activity should be given preference.

            marina Marina Glancy
            amy.call Amy Call
            Michael de Raadt Michael de Raadt
            Sam Hemelryk Sam Hemelryk
            Jason Fowler Jason Fowler
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.