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

Delete Zend framework

    XMLWordPrintable

Details

    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-52207-master
    • Hide
      Before applying the patch

      We need to do these steps before applying the patch so we cab compare the output.

      1. Enable networking ("Site administration" > "Advanced features").
      2. Browse to "Site administration" > "Networking" > "XML-RPC hosts".
      3. Add 192.168.0.0/0 and save.
      4. Browse to "Site administration" > "Networking" > "Peers" > "All hosts".
      5. Click the "Services" tab.
      6. Check "Publish" on every service then save.
      7. Apply the attached patch (it disables xml encryption).
      8. Run this from a terminal:

        curl 'http://your_moodle/mnet/xmlrpc/server.php' -H "Content-Type: text/xml" --data "<?xml version='1.0' encoding='UTF-8'?><methodCall><methodName>system/listMethods</methodName><params> </params></methodCall>"

      9. Take note of the output.
      10. Run this from a terminal:

        curl 'http://your_moodle.mithrandir/mnet/xmlrpc/server.php' -H "Content-Type: text/xml" --data "<?xml version='1.0' encoding='UTF-8'?><methodCall><methodName>system/methodSignature</methodName><params><param><value><string>auth/mnet/auth.php/fetch_theme_info</string></value></param></params></methodCall>

      11. Take note of the output.
      12. Rerun the previous command, replacing auth/mnet/auth.php/fetch_theme_info with another random method (the first command we ran gave a list of methods you can use. Take note of the output and do it for a few more random methods.
      After the patch
      1. Install moodle, verify there are no errors.
      2. Follow the testing instructions from the blocking issues, make sure there are no errors that mention Zend.
      3. Follow the same instructions as in the "Before applying the patch" section, but make sure to use the same methods for steps 10-12.
      4. Ensure the output is the same. NB: A few methods will have different output. These are auth/mnet/auth.php/fetch_user_image, enrol/mnet/enrol.php/enrol_user, enrol/mnet/enrol.php/course_enrolments
      Show
      Before applying the patch We need to do these steps before applying the patch so we cab compare the output. Enable networking ("Site administration" > "Advanced features"). Browse to "Site administration" > "Networking" > "XML-RPC hosts". Add 192.168.0.0/0 and save. Browse to "Site administration" > "Networking" > "Peers" > "All hosts". Click the "Services" tab. Check "Publish" on every service then save. Apply the attached patch (it disables xml encryption). Run this from a terminal: curl 'http://your_moodle/mnet/xmlrpc/server.php' -H "Content-Type: text/xml" --data "<?xml version='1.0' encoding='UTF-8'?><methodCall><methodName>system/listMethods</methodName><params> </params></methodCall>" Take note of the output. Run this from a terminal: curl 'http://your_moodle.mithrandir/mnet/xmlrpc/server.php' -H "Content-Type: text/xml" --data "<?xml version='1.0' encoding='UTF-8'?><methodCall><methodName>system/methodSignature</methodName><params><param><value><string>auth/mnet/auth.php/fetch_theme_info</string></value></param></params></methodCall> Take note of the output. Rerun the previous command, replacing auth/mnet/auth.php/fetch_theme_info with another random method (the first command we ran gave a list of methods you can use. Take note of the output and do it for a few more random methods. After the patch Install moodle, verify there are no errors. Follow the testing instructions from the blocking issues, make sure there are no errors that mention Zend. Follow the same instructions as in the "Before applying the patch" section, but make sure to use the same methods for steps 10-12. Ensure the output is the same. NB: A few methods will have different output. These are auth/mnet/auth.php/fetch_user_image , enrol/mnet/enrol.php/enrol_user , enrol/mnet/enrol.php/course_enrolments
    • 3.1 Stable Sprint 1, CBE Sprint 6, 3.1 Sprint 6

    Description

      Final step for this epic.

      Attachments

        Issue Links

          Activity

            People

              cameron1729 cameron1729
              jpataleta Jun Pataleta
              Simey Lameze Simey Lameze
              David Monllaó David Monllaó
              Jun Pataleta Jun Pataleta
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                23/May/16