Moodle

DB should show 'item not moderated' for un-moderated entries

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9.6
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

Per a conversation with Martin D.

In the DB activity, if you have an item in the DB (like Moodle's plugin DB), and the owner modifies it, then the link disappears, and if there is a link to it, it reports 'item not found'. It should say something like 'this item cannot be viewed at this time' or something of the sort.

Issue Links

Activity

Hide
Helen Foster added a comment -

This remains a problem on moodle.org.

Adding a 1.9.1 fix version in the hope it can be resolved soon.

Show
Helen Foster added a comment - This remains a problem on moodle.org. Adding a 1.9.1 fix version in the hope it can be resolved soon.
Hide
Matt Gibson added a comment -

Even better would be to leave the original in place until the new one is approved, but I know that this would probably involve a temporary record being created and some hassle.

Show
Matt Gibson added a comment - Even better would be to leave the original in place until the new one is approved, but I know that this would probably involve a temporary record being created and some hassle.
Hide
Petr Škoda (skodak) added a comment -

should be fixed now, please test

Show
Petr Škoda (skodak) added a comment - should be fixed now, please test
Hide
Helen Foster added a comment -

Petr, thanks for fixing this issue

I tested the issue by adding an entry to a database activity with entries requiring approval, then accessed the URL when logged in as a guest. An 'Entry is not approved yet.' message was displayed.

I added more information about the error to http://docs.moodle.org/en/error/data/notapproved

Show
Helen Foster added a comment - Petr, thanks for fixing this issue I tested the issue by adding an entry to a database activity with entries requiring approval, then accessed the URL when logged in as a guest. An 'Entry is not approved yet.' message was displayed. I added more information about the error to http://docs.moodle.org/en/error/data/notapproved

People

Vote (2)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: