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

Rating a database activity entry takes user back to list view

    XMLWordPrintable

    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.

        Attachments

          Activity

            People

            Assignee:
            andyjdavis Andrew Davis
            Reporter:
            tsala Helen Foster
            Peer reviewer:
            Sam Hemelryk
            Integrator:
            Aparup Banerjee
            Tester:
            Rossiani Wijaya
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

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