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

New global setting for messaging "messagingallusers" is not returned by WS for the app

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.6
    • 3.5.2
    • Web Services
    • MOODLE_35_STABLE
    • MOODLE_36_STABLE
    • MDL-63888-master
    • Hide
      1. As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings
      2. Create a Token in the mobile app service for any user in the site (not an admin account)
        • Click on Site administration ► Plugins ► Web services ► Manage tokens
      3. Open the console an execute this new curl request, replacing wstoken with the token you just created and the site url with yours.

        curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'wsfunction=core_webservice_get_site_info&wstoken=3af67232a7596ceb658df4db329e5ad6' | python -m "json.tool"

      4. And check that the returned advancedfeatures -> messagingallusers field value is set to the same value that the global setting that can be found at "Site administration -> Advanced features" (If the setting is checked, the value returned will be 1, if is not checked the value returned will be 0)
      Show
      As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings Create a Token in the mobile app service for any user in the site (not an admin account) Click on Site administration ► Plugins ► Web services ► Manage tokens Open the console an execute this new curl request, replacing wstoken with the token you just created and the site url with yours. curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'wsfunction=core_webservice_get_site_info&wstoken=3af67232a7596ceb658df4db329e5ad6' | python -m "json.tool" And check that the returned advancedfeatures -> messagingallusers field value is set to the same value that the global setting that can be found at "Site administration -> Advanced features" (If the setting is checked, the value returned will be 1, if is not checked the value returned will be 0)

      MDL-63214 introduced a new setting but is not being returned to the app via the get_siteinfo WS

            jleyva Juan Leyva
            jleyva Juan Leyva
            Albert Gasset Albert Gasset
            David Monllaó David Monllaó
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.