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

Database entries are always linked to wrong entry

XMLWordPrintable

    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • wip-MDL-33603-master-v2
    • Hide
      1. Add a few entries to a database module
      2. Make sure to include ##more## in your template so that you can see the more icon.
      3. Click on "view as list"
      4. Change the "Sort by" column and make sure that the first entry is different to the default. (clicking "Descending" should work)
      5. Click on any of the "more" icons

      [Test]
      It takes you to the correct page with the entry details.

      Show
      Add a few entries to a database module Make sure to include ##more## in your template so that you can see the more icon. Click on "view as list" Change the "Sort by" column and make sure that the first entry is different to the default. (clicking "Descending" should work) Click on any of the "more" icons [Test] It takes you to the correct page with the entry details.

      Replication steps:-

      1. Add a few entries to a database module
      2. Make sure to include ##more## in your template so that you can see the more icon.
      3. Click on "view as list"
      4. Change the "Sort by" column and make sure that the first entry is different to the default. (clicking "Descending" should work)
      5. Click on any of the "more" icons

      Expected result:-
      It takes you to the correct page with the entry details

      Actual result:-
      It takes to a page with details of some random entry.

      Because of this issue all the databases on moodle.org are completely useless, such as Moodle Jobs, Moodle Buzz etc

      For example http://moodle.org/mod/data/view.php?d=50 , try accessing any package from that url.

            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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