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

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

XMLWordPrintable

    • MOODLE_20_STABLE, MOODLE_33_STABLE
    • Easy

      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.

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

            Unassigned Unassigned
            jerome Jérôme Mouneyrac
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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