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

Database module allows you to start adding new entries even if the maximum has already been reached



      -> As admin, among the settings of an instance of database module, I set: Maximum entries = 1
      -> As student I go to add a record to the database and all is fine
      -> Now, always as the same student, I try to add one more record even if Maximum entries = 1
      -> First weird event: The "Add entry" TAB is still visible.
      -> I proceed to add one more record, I get the form, I fill it and I go to submit it.
      -> At the submit time I get the following message: "You have entered the maximum number of entries allowed!"

      As far as I can I would prevent this behavior. Students should be stopped before filling the form, not after!!!!
      (Forms here, may be hundred fields long and I am helping students to waste their time!)
      I find this behavior not too correct.
      Do you agree?

        1. 2010092302-MDL24033-m20-edit.patch
          1 kB
        2. 20100923-MDL24033-m19-edit.patch
          2 kB
        3. edit_m20.patch
          0.6 kB
        4. edit_newidea.patch
          0.8 kB
        5. edit.patch
          0.5 kB
        6. tabs_m20.patch
          0.8 kB
        7. tabs.patch
          0.8 kB

            andreabix Andrea Bicciolo
            daniss Daniele Cordella
            Nobody Nobody
            0 Vote for this issue
            1 Start watching this issue


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