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

Create glossary entries

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Open a glossary and add a new entry.
      2. Add another entry in offline or server down. Check that you see a sync button. Check that clicking the sync button in offline/server down shows an error.
      3. Go back online or turn server up and click synchronize. Check that entries have been stored.
      4. Finally, add another entry in offline.
      5. Click on the offline entry, edit descriptions and options and save.
      6. Click again and check it has been edited. Change now the title and save.
      7. Check the entry has been renamed.
      8. Go back online and wait for sync to trigger (could take more than 10 minutes). Check that entries are automatically sent.
      9. Now, disconnect the mobile device
      10. Configure the glossary to allow Duplicate entries
      11. Create a new entry "ABC" in a glossary in Moodle web
      12. Go to the app, and create the same entry "ABC" in the same glossary when offline, add also a new entry "abc" go back online and synchronize.
      13. Check that "abc" was created and also a duplicated "ABC" was created
      14. Now, disable duplicate entries in the glossary settings
      15. Go to offline and try to create abc or ABC, check that you get a warning and you can edit the entry.
      16. Create a new entry "BCD" from the web.
      17. Go to the app and without refreshing, add BCD in offline. The app should not warn you because it doesn't know the entry is duplicated.
      18. Go online, sync and check the entry was discarded.
      19. Configure an existing glossary to "Automatically link glossary entries", go to the app, PTR on the glossary and check that when adding a new entry you see the "case sensitive" and "full match" options.
      20. Now, configure a different glossary to NOT "Automatically link glossary entries", go to the app, PTR on the glossary and check that when adding a new entry you don't see full match, case sensitive and link options
      21. Now, create categories for an existing glossary.
      22. Go to the app and check that when adding a new entry you see the list of existing categories. Add a entry and check that it was correctly added to an existing category.
      • Note: While MDL-57737 is not repaired, HTML will be squashed.
      Show
      Open a glossary and add a new entry. Add another entry in offline or server down. Check that you see a sync button. Check that clicking the sync button in offline/server down shows an error. Go back online or turn server up and click synchronize. Check that entries have been stored. Finally, add another entry in offline. Click on the offline entry, edit descriptions and options and save. Click again and check it has been edited. Change now the title and save. Check the entry has been renamed. Go back online and wait for sync to trigger (could take more than 10 minutes). Check that entries are automatically sent. Now, disconnect the mobile device Configure the glossary to allow Duplicate entries Create a new entry "ABC" in a glossary in Moodle web Go to the app, and create the same entry "ABC" in the same glossary when offline, add also a new entry "abc" go back online and synchronize. Check that "abc" was created and also a duplicated "ABC" was created Now, disable duplicate entries in the glossary settings Go to offline and try to create abc or ABC, check that you get a warning and you can edit the entry. Create a new entry "BCD" from the web. Go to the app and without refreshing, add BCD in offline. The app should not warn you because it doesn't know the entry is duplicated. Go online, sync and check the entry was discarded. Configure an existing glossary to "Automatically link glossary entries", go to the app, PTR on the glossary and check that when adding a new entry you see the "case sensitive" and "full match" options. Now, configure a different glossary to NOT "Automatically link glossary entries", go to the app, PTR on the glossary and check that when adding a new entry you don't see full match, case sensitive and link options Now, create categories for an existing glossary. Go to the app and check that when adding a new entry you see the list of existing categories. Add a entry and check that it was correctly added to an existing category. Note: While MDL-57737 is not repaired, HTML will be squashed.
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle Mobile 3.2.1

      Description

      The WS for creating glossary entries support all the possible options include attachments in both ways (editor and single attachments).

      The new functionality should be supported offline (add entries when the user is offline), glossary attachments should be supported.

      On this issue the entries does not need to support attachments. It will be solved on MOBILE-1966

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pferre22 Pau Ferrer
              Reporter:
              jleyva Juan Leyva
              Peer reviewer:
              Dani Palou
              Integrator:
              Juan Leyva
              Tester:
              Berta Maroto
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Feb/17

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 weeks, 5 hours
                  2w 5h
                  Remaining:
                  0m
                  Logged:
                  Time Not Required
                  Not Specified