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

Remove the move icon from the question bank

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.5.2
    • Fix Version/s: 2.7
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      The Move icon has been removed from the question bank.

      On each row of the table under "Created by" column, we had 4 icons (Edit, Preview, Move and Delete)and the name of the question author. Only the Move icon has been removed and the rest remains untouched.

      To test

      1. Go to the question bank in any course.
      2. Create several question categories.
      3. Create some questions (True/false or Essay is simplest.)
      4. Tick the checkbox beside the question(s) you want to move
      5. At the bottom of the question bank, choose the destination category and press "Move to >>" button.
      6. Edit a question, use the controls at the top of the form to save it into a different category.
      Show
      The Move icon has been removed from the question bank. On each row of the table under "Created by" column, we had 4 icons (Edit, Preview, Move and Delete)and the name of the question author. Only the Move icon has been removed and the rest remains untouched. To test Go to the question bank in any course. Create several question categories. Create some questions (True/false or Essay is simplest.) Tick the checkbox beside the question(s) you want to move At the bottom of the question bank, choose the destination category and press "Move to >>" button. Edit a question, use the controls at the top of the form to save it into a different category.
    • Workaround:
      Hide

      Use the checkboxes to select one or more questions, then use "Move to >>" bottom of the question bank to move them.

      Show
      Use the checkboxes to select one or more questions, then use "Move to >>" bottom of the question bank to move them.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      1. Go to a course question bank
      2. Create a question for each of the falling types (see below)
      3. Click on the 'Move' icon for each of those
      4. Select another category, and click 'Move question(s)'

      Actual result:

      • Some notices may appear
      • The question is not moved
      • The form appear not to be validated and show entry errors but it is not editable

      Some more details

      For Calculated question:

      • Notice: Undefined index: fraction in /home/fred/www/repositories/testing_master/moodle/question/type/numerical/edit_numerical_form.php on line 264

      For Calculated multichoice:

      • Notice: Undefined index: fraction in /home/fred/www/repositories/testing_master/moodle/question/type/calculatedmulti/edit_calculatedmulti_form.php on line 263
      • Notice: Undefined index: fraction in /home/fred/www/repositories/testing_master/moodle/question/type/calculatedmulti/edit_calculatedmulti_form.php on line 303
      • Notice: Undefined index: fraction in /home/fred/www/repositories/testing_master/moodle/question/type/calculatedmulti/edit_calculatedmulti_form.php on line 306

      For Simple calculated question:

      • Notice: Uninitialized string offset: 1 in /home/fred/www/repositories/testing_master/moodle/question/type/calculatedsimple/edit_calculatedsimple_form.php on line 184
      • Notice: Uninitialized string offset: 1 in /home/fred/www/repositories/testing_master/moodle/question/type/calculatedsimple/edit_calculatedsimple_form.php on line 185
      • Notice: Uninitialized string offset: 1 in /home/fred/www/repositories/testing_master/moodle/question/type/calculatedsimple/edit_calculatedsimple_form.php on line 186
      • Notice: Undefined index: fraction in /home/fred/www/repositories/testing_master/moodle/question/type/numerical/edit_numerical_form.php on line 264

      For Multiple choice question:

      • Notice: Undefined index: fraction in /home/fred/www/repositories/testing_master/moodle/question/type/multichoice/edit_multichoice_form.php on line 112
      • Notice: Undefined index: fraction in /home/fred/www/repositories/testing_master/moodle/question/type/multichoice/edit_multichoice_form.php on line 123
      • Notice: Undefined index: fraction in /home/fred/www/repositories/testing_master/moodle/question/type/multichoice/edit_multichoice_form.php on line 126

      For Numerical question:

      • Notice: Undefined offset: 0 in /home/fred/www/repositories/testing_master/moodle/question/type/numerical/edit_numerical_form.php on line 264

      For Random short-answer question:

      • Notice: Undefined index: category in /home/fred/www/repositories/testing_master/moodle/question/type/randomsamatch/edit_randomsamatch_form.php on line 72
      • Notice: Undefined index: choose in /home/fred/www/repositories/testing_master/moodle/question/type/randomsamatch/edit_randomsamatch_form.php on line 81

      For Short answer question:

      • Notice: Undefined index: fraction in /home/fred/www/repositories/testing_master/moodle/question/type/shortanswer/edit_shortanswer_form.php on line 74
      • Error: "One of the answers should have a score of 100% so it is possible to get full marks for this question." This is displayed for Answer 1 which is 'None', but Answer 2 is 100%

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/May/14