Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Forum
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Create a few courses.
      2. Create multiple forums in each course.
      3. Enrol a user into one of the courses.
      4. Create a web service client (similar to the one attached) that includes the course they are enrolled in in the courseids array.
      5. Execute the client and ensure the forums for that course are returned.
      6. Edit the courseids array so that it is empty.
      7. Execute the client and ensure the forums for the course they are enrolled in are returned.
      8. Add the courseids for the courses they are not enrolled in.
      9. Execute the client and ensure a capability error is thrown.
      10. Run the PHP Unit test (phpunit -c mod/forum/phpunit.xml).
      Show
      Create a few courses. Create multiple forums in each course. Enrol a user into one of the courses. Create a web service client (similar to the one attached) that includes the course they are enrolled in in the courseids array. Execute the client and ensure the forums for that course are returned. Edit the courseids array so that it is empty. Execute the client and ensure the forums for the course they are enrolled in are returned. Add the courseids for the courses they are not enrolled in. Execute the client and ensure a capability error is thrown. Run the PHP Unit test (phpunit -c mod/forum/phpunit.xml).
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-37247_master

      Description

      Create a get_forum() WS function to retrieve a forum instance.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

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