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

When clicking on drag&drop activity icon the names of activities are displayed incorrectly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.0.7, 3.1.3
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      Hide

      1. Log in as an admin.
      2. Create a new empty course C1.
      3. Navigate to the recently created course C1.
      4. Turn editing on.
      5. Click the link " Add an activity or resource" in the first section.
      6. Add three forum activities F1, F2 and F3.
      7. Navigate to course page.
      8. Click on the "move resource" link , present next to F3.
      9. A popup dialogue opens, listing the locations you can move it to

      EXPECTED: You should be able to move it to the start of the section, or after activity F1. (Or to other sections)

      BEFORE THIS FIX: The list included activity F1 twice (one of those links didn't work). Additionally, it included moving it after F2, even though that is its current location.

      Show
      1. Log in as an admin. 2. Create a new empty course C1. 3. Navigate to the recently created course C1. 4. Turn editing on. 5. Click the link " Add an activity or resource" in the first section. 6. Add three forum activities F1, F2 and F3. 7. Navigate to course page. 8. Click on the "move resource" link , present next to F3. 9. A popup dialogue opens, listing the locations you can move it to EXPECTED: You should be able to move it to the start of the section, or after activity F1. (Or to other sections) BEFORE THIS FIX: The list included activity F1 twice (one of those links didn't work). Additionally, it included moving it after F2, even though that is its current location.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-55861-master

      Description

      The 'move link dialogue' in the course page shows repeated activities.

      Steps to replicate

      1. Log in as an admin.
      2. Create a course C1.
      3. Navigate to the recently created course C1.
      4. Turn the editing on.
      5. Click the link " Add an activity or resource" in the current week.
      6. Add the forum activity F1,F2 and F3.
      7. Navigate to course page.
      8. Click on the "move resource" link , present next to F3.
      9. A popup dialogue opens, with all the activities in the course.
      10. Activity F1 is repeated twice.
      11. Duplicate forum activity F1 link doesn't work .

      This issue can be replicated in moodle test enviroment with below url,
      " https://qa.moodle.net/course/view.php?id=2 "

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              djayaprakash Deepa
              Reporter:
              djayaprakash Deepa
              Peer reviewer:
              Tim Hunt
              Integrator:
              Dan Poltawski
              Tester:
              Marina Glancy
              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:
                14/Nov/16