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

Duplicate or import feedback activity adds blanks to dropdown option field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.8, 2.5.6, 2.6.3, 2.7
    • Fix Version/s: 2.6.4, 2.7.1, 2.8
    • Component/s: Feedback
    • Labels:
    • Testing Instructions:
      Hide

      Using IE

      1. Enable the feedback activity in Site administration.
      2. Create a new feedback instance.
      3. Add a new "Multiple choice (rated)" question with three or more options.
      4. Check the presentation of that question by start answering that feedback.
      5. Duplicate the feedback instance.
      6. Check the presentation of the new feedback by start answering.
      7. Open the new feedback instance and go to "Edit questions".
      8. Edit the existing "Multiple choice (rated)" question.
      9. Each option should be in one line without any additional linebreak.
      Show
      Using IE Enable the feedback activity in Site administration. Create a new feedback instance. Add a new "Multiple choice (rated)" question with three or more options. Check the presentation of that question by start answering that feedback. Duplicate the feedback instance. Check the presentation of the new feedback by start answering. Open the new feedback instance and go to "Edit questions". Edit the existing "Multiple choice (rated)" question. Each option should be in one line without any additional linebreak.
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-45592_master

      Description

      When importing or duplicating an existing feedback activity, the field for question answer choices has an additional carriage return added between each of the possible answers. These then have to be manually deleted from every question as otherwise students are presented with a dropdown menu with spaces between the answers.

        Attachments

        1. feedback_activity_bug_duplicating_importing.mp4
          3.83 MB
          Gordon McLeod
        2. feedback_options_duplicated.jpg
          21 kB
          Gordon McLeod
        3. feedback_original_options.jpg
          20 kB
          Gordon McLeod

          Activity

            People

            Assignee:
            grabs Andreas Grabs
            Reporter:
            gordonmc Gordon McLeod
            Peer reviewer:
            Ankit Agarwal
            Integrator:
            Damyon Wiese
            Tester:
            Jason Fowler
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Jul/14