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

When no fields are defined we should not displayed 'Add entry' tab

    XMLWordPrintable

Details

    • MOODLE_20_STABLE, MOODLE_33_STABLE
    • Easy

    Description

      1. Create a database a teacher (do not setup it up)
      2. Connect as student, go to the database, and click on Add entry.
      => An error message is displayed.

      imo we should not see add entry tab if we cannot add an entry. Otherwise if we keep this tab, the error message should not be an exception. And if we keep the exception (you really not like my suggestion ) the button continue should return on the course page, not the front page.

       

      When there are no fields defined, all tabs should not be displayed and show the message 'No entries on database' instead.

      Attachments

        1. search.png
          search.png
          86 kB
        2. Step1.png
          Step1.png
          83 kB
        3. Step2.png
          Step2.png
          95 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jerome Jérôme Mouneyrac
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona), Huong Nguyen, Barbara Ramiro, Bas Brands, Mathew May, David Woloszyn, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: