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

Unapproved glossary entries are not shown for teacher (Oracle only)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.7, 2.5.3, 2.6
    • Fix Version/s: 2.4.8, 2.5.4
    • Labels:
      None
    • Testing Instructions:
      Hide
      • Verify that both unit tests and acceptance tests are passing for mod_glossary under all database.
      1. Create glossary without automatic approval
      2. As student add entry
      3. As teacher make sure you see entry in "waiting for approval" (both in "All" and under first letter)
      4. Approve entry
      5. As any user make sure the entry appears in all lists:
        1. Search
        2. Browse by alphabet (all)
        3. Browse by alphabet (one letter)
        4. Browse by author (all)
        5. Browse by author (one letter)

      This needs to be repeated on Oracle and any normal DB

      Show
      Verify that both unit tests and acceptance tests are passing for mod_glossary under all database. Create glossary without automatic approval As student add entry As teacher make sure you see entry in "waiting for approval" (both in "All" and under first letter) Approve entry As any user make sure the entry appears in all lists: Search Browse by alphabet (all) Browse by alphabet (one letter) Browse by author (all) Browse by author (one letter) This needs to be repeated on Oracle and any normal DB
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull Master Branch:
      wip-MDL-42912-master

      Description

      Discovered by failing behat tests:

      02. "(this entry is currently hidden)" text was not found in the page
      In step `Then I should see "(this entry is currently hidden)"'. # behat_general::assert_page_contains_text()
      From scenario `Approve and disapprove glossary entries'. # /home/marina/repositories/oracle26/moodle/mod/glossary/tests/behat/entries_require_approval.feature:7
      Of feature `A teacher can choose whether glossary entries require approval'. # /home/marina/repositories/oracle26/moodle/mod/glossary/tests/behat/entries_require_approval.feature
       
      03. "Sweet cucumber" text was not found in the page
      In step `Then I should see "Sweet cucumber"'. # behat_general::assert_page_contains_text()
      From scenario `Search by keyword and browse by alphabet'. # /home/marina/repositories/oracle26/moodle/mod/glossary/tests/behat/search_entries.feature:46
      Of feature `Glossary entries can be searched or browsed by alphabet, category, date or author'. # /home/marina/repositories/oracle26/moodle/mod/glossary/tests/behat/search_entries.feature
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Jan/14