Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38012 META: Simplify moodle forms
  3. MDL-37969

mod_assign: shortforms compatibility issue

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.5
    • Fix Version/s: None
    • Component/s: Assignment
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Create new assignment activity
      2. Make sure that only the top section is expanded in the form
      3. Enter something in required fields
      4. In the Assignment settings, enable dates, make due date earlier than the allow submissions.
      5. Collapse the section and submit the form
      6. On submission, the section with an error should be expanded, all the others should be closed (or in the state you left them), the top one will be expanded as well.
      Show
      Create new assignment activity Make sure that only the top section is expanded in the form Enter something in required fields In the Assignment settings, enable dates, make due date earlier than the allow submissions. Collapse the section and submit the form On submission, the section with an error should be expanded, all the others should be closed (or in the state you left them), the top one will be expanded as well.
    • Affected Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-37969-master

      Description

      With the new shortforms feature MDL-30637, the behaviour of assignment activity is incorrect. It has four sections of the same name 'general', that makes them all expanded on initial open and keep them expanded all when the error appear in one of them (only one section should be expanded in this case apart of the top one).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: