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

Rating a database activity entry takes user back to list view

    Details

    • Testing Instructions:
      Hide

      Check that javascript is disabled in your site settings.
      Create a database activity with at least 3 items in it. You can use an existing database if you have one.
      Click on "view single" to view individual items. Check that the paging bar works (clicking on numbers takes you to an element. next and previous links work)
      Check that you have at least one item you can rate. This is most easily done by having a student submit an item then log in as the teacher.
      Submit a rating by selecting an item from the rating drop down then clicking "Rate". If this button doesnt appear you dont have Javascript disabled.
      The page should reload and you should be returned to the same database item.

      Show
      Check that javascript is disabled in your site settings. Create a database activity with at least 3 items in it. You can use an existing database if you have one. Click on "view single" to view individual items. Check that the paging bar works (clicking on numbers takes you to an element. next and previous links work) Check that you have at least one item you can rate. This is most easily done by having a student submit an item then log in as the teacher. Submit a rating by selecting an item from the rating drop down then clicking "Rate". If this button doesnt appear you dont have Javascript disabled. The page should reload and you should be returned to the same database item.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull Master Branch:
      MDL-27640_database_rating_return_url

      Description

      When JavaScript is disabled, rating a database activity entry takes a user back to list view rather than remaining in single view.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Oct/11