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

When there is only one category we can't access it's settings

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      Test 1 (Master only)
      1. Log into a site using Boost that only has one category as an admin.
      2. Go to front page settings
      3. Add "List of categories" to your front page
      4. Login as the teacher
      5. Go to the front page
      6. Click the category in the category list
      7. Click 'courses' in breadcrumb
      8. Confirm you can see the list of courses in the category (rather than showing them all).
      9. Confirm there is no 'Course categories' drop-down.
      10. Confirm there is an edit cog next to 'Search courses'.
      11. Confirm this list contains actions for the category.
      12. Confirm you can not see the name of the category anywhere (including page title).
      13. Visit 'Site administration' > 'Courses' > 'Manage courses and categories'.
      14. Create a new category.
      15. Go to the front page
      16. Click the category in the category list
      17. Click 'courses' in breadcrumb
      18. Confirm there is not an edit cog next to 'Search courses'.
      19. Select a category.
      20. Confirm there is an edit cog next to the 'Course categories' drop-down.
      Test 2 (Master and 3.1)
      1. Log into a site using Clean that only has one category as an admin.
      2. Go to front page settings
      3. Add "List of categories" to your front page
      4. Go to the front page
      5. Click the category in the category list
      6. Click 'courses' in breadcrumb
      7. Confirm you can see the list of courses in that category.
      8. Confirm there is no 'Course categories' drop-down.
      9. Confirm there is a 'Category: xxx' menu under 'Administration'.
      10. Confirm this list contains actions for the category.
      11. Confirm you can not see the name of the category anywhere (including page title) besides the menu under 'Administration'.
      12. Visit 'Site administration' > 'Courses' > 'Manage courses and categories'.
      13. Create a new category.
      14. Go to the front page
      15. Click the category in the category list
      16. Click 'courses' in breadcrumb
      17. Confirm there is not a 'Category: xxx' menu under 'Administration'.
      18. Select a category.
      19. Confirm there is a 'Category: xxx' menu under 'Administration' and a 'Course categories' drop-down.
      Show
      Test 1 (Master only) Log into a site using Boost that only has one category as an admin. Go to front page settings Add "List of categories" to your front page Login as the teacher Go to the front page Click the category in the category list Click 'courses' in breadcrumb Confirm you can see the list of courses in the category (rather than showing them all). Confirm there is no 'Course categories' drop-down. Confirm there is an edit cog next to 'Search courses'. Confirm this list contains actions for the category. Confirm you can not see the name of the category anywhere (including page title). Visit 'Site administration' > 'Courses' > 'Manage courses and categories'. Create a new category. Go to the front page Click the category in the category list Click 'courses' in breadcrumb Confirm there is not an edit cog next to 'Search courses'. Select a category. Confirm there is an edit cog next to the 'Course categories' drop-down. Test 2 (Master and 3.1) Log into a site using Clean that only has one category as an admin. Go to front page settings Add "List of categories" to your front page Go to the front page Click the category in the category list Click 'courses' in breadcrumb Confirm you can see the list of courses in that category. Confirm there is no 'Course categories' drop-down. Confirm there is a 'Category: xxx' menu under 'Administration'. Confirm this list contains actions for the category. Confirm you can not see the name of the category anywhere (including page title) besides the menu under 'Administration'. Visit 'Site administration' > 'Courses' > 'Manage courses and categories'. Create a new category. Go to the front page Click the category in the category list Click 'courses' in breadcrumb Confirm there is not a 'Category: xxx' menu under 'Administration'. Select a category. Confirm there is a 'Category: xxx' menu under 'Administration' and a 'Course categories' drop-down.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-57250_master
    • Sprint:
      3.3 on-sync

      Description

      edit cog added in MDL-57072 does not show up when there is only one category in the system

      there is a hack in a behat test that needs to be removed:

      marina@marina:~/www/int_master$ git grep MDL-57250
      admin/tool/recyclebin/tests/behat/basic_functionality.feature:    # TODO MDL-57250 remove extra category.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markn Mark Nelson
                Reporter:
                marina Marina Glancy
                Peer reviewer:
                John Okely
                Integrator:
                Dan Poltawski
                Tester:
                Simey Lameze
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Jake Dallimore, Jun Pataleta, Ryan Wyllie, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jan/17