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

App doesn't render Database fields after changing field names and templates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.8.0
    • 3.7.1
    • Database add-on
    • Hide

      Test on one device of your choice.

      1. Using the app, login as student on master site.
      2. Navigate to the dev testing course > Database > Data to test field name changes.
      3. Check there are two entries named first and second.
      4. Enter one entry and check it's correctly displayed.
      5. Now enter the same database using the WEBSITE and as a TEACHER.
      6. Go to the fields tab and edit the only field there.
      7. Change the field name to text4. Rename the field description is optional.
      8. Now go to the Templates tab and check the first four templates (from list to add) have [[text4]] on them (usually add template does not have that). If not, change [[textX]] to [[text4]].
      9. Now go back to the app.
      10. On the list view PTR and check the entries are correctly shown.
      11. Enter an entry and check it's correctly shown.
      12. Add an entry and check the template is correct as well. (no [[whatever]] is shown.

       

      Show
      Test on one device of your choice. Using the app, login as student on master site. Navigate to the dev testing course > Database > Data to test field name changes . Check there are two entries named first and second. Enter one entry and check it's correctly displayed. Now enter the same database using the WEBSITE and as a TEACHER. Go to the fields tab and edit the only field there. Change the field name to text4. Rename the field description is optional. Now go to the Templates tab and check the first four templates (from list to add) have [ [text4] ] on them (usually add template does not have that). If not, change [ [textX] ] to [ [text4] ]. Now go back to the app. On the list view PTR and check the entries are correctly shown. Enter an entry and check it's correctly shown. Add an entry and check the template is correct as well. (no [ [whatever] ] is shown.  
    • MOODLE_37_STABLE
    • MOODLE_38_STABLE
    • Moodle App 3.8.0

      What I did:

      1. In the app, open a database.
      2. In web as teacher, change the name of some fields.
      3. After changing the names, I had to update the template to use the new names.
      4. Open the DB again in the app and perform a PTR. The values of the fields whose name changed weren't rendered.

            pferre22 Pau Ferrer
            dpalou Dani Palou
            Albert Gasset Albert Gasset
            Juan Leyva Juan Leyva
            Isabel Renedo Rouco Isabel Renedo Rouco
            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.