Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-533

Create notes fails with a invalid_paramter_exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 1.4
    • iOS
    • MOODLE_14_STABLE

      The web service call to create a note uses the 'moodle_notes_create_notes' function name.

      In the past this function call accepted a string for the 'format' parameter. In Moodle 2.5 the 'format' field must be an integer

      Steps to replicate:
      Using Moodle Mobile 1.4 and Moodle 2.5
      1. Login to the app
      2. Access a list of participants
      3. Access a user
      4. Touch the 'Add a note' button
      5. Complete the form
      6. Touch the 'Add a note' button

      Expected outcome
      A note is for the selected user is created

      Actual outcome
      An error occurs in the app as 'Invalid Parameter Detected'. The full error in the JSON returned is:

      notes => Invalid parameter value detected: format => Invalid parameter value detected: Invalid external api parameter: the value is \"text\", the server was expecting \"int\" type

            jleyva Juan Leyva
            techxplorer Corey Wallis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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