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

Fix drop-down user profile field when using multi-lang

XMLWordPrintable

    • Hide
      1. Dropdown user profile using multilang2:
        1. Go to credentials page in a site with multilang2 plugin installed and blocks created for registration fields.
        2. Go to "Create new Account" page and check if the dropdown options are translated correctly.
      2. User profile use display value (This step doesn't require a site with multilang2 plugin):
        1. Login into a site with any account > Go to user profile > Check that every field value is the same as in the previous version of the app.
      Show
      Dropdown user profile using multilang2: Go to credentials page in a site with multilang2 plugin installed and blocks created for registration fields. Go to "Create new Account" page and check if the dropdown options are translated correctly. User profile use display value (This step doesn't require a site with multilang2 plugin): Login into a site with any account > Go to user profile > Check that every field value is the same as in the previous version of the app.
    • MOODLE_401_STABLE
    • MOODLE_402_STABLE
    • Moodle App 4.2.0

      Drop-down menu user profile fields with menu options using filters such as multi-lang are not properly displayed on the app.

      The problem is that we don't receive all data as we'd need to, the Web Service needs some changes to make it return in a new parameter (param2) a json structure with all the information to be displayed

      Please notice that there could be an issue when the profile field is forced or not by configuration, when required, an additional option "choose" will be included in the json response, when not required, it won't be included

      See examples attached.

      There is a second issue here that is in the user profile field we are not returning the field value already formatted, for that, we are improving the WS (see parent issue) to return a new field called "displaydata" with the value already filtered

        1. Screenshot 2023-04-17 at 17.44.34.png
          Screenshot 2023-04-17 at 17.44.34.png
          118 kB
        2. screenshot-2.png
          screenshot-2.png
          38 kB
        3. screenshot-1.png
          screenshot-1.png
          26 kB
        4. json.required
          2 kB
        5. json.not-required
          2 kB

            alfonso.salces@moodle.com Alfonso Salces
            jleyva Juan Leyva
            Dani Palou Dani Palou
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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