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

Book chapter cancel button error

XMLWordPrintable

    • MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MDL-60115-Book-cancel-button-redirect-bug-master
    • Easy
    • Hide
      1. Create a course.
      2. In that course, add a Book resource.
      3. Enter a name for the Book resource and click "Save and display"
      4. On the Add new chapter form, click Cancel. W
      5. Confirm that you are sent back to the course page instead of being redirected right back to the same page again.
      Show
      Create a course. In that course, add a Book resource. Enter a name for the Book resource and click " Save and display " On the Add new chapter form, click Cancel. W Confirm that you are sent back to the course page instead of being redirected right back to the same page again.

      If you add a book resource, the first thing you have to do is add a chapter.

      In this step, if you hit cancel, the form doesn't returns an error (first chapter is mandatory in creating a book resource) and stays in the same page without informing you. If you are creating chapter 2 and above it works as expected.

      I have a patch which checks for first chapter and if you hit cancel, it returns to course view.

            mbrow188 Michael Brown
            xyulex Raúl Martínez
            Dan Bennett Dan Bennett
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m

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