Uploaded image for project: 'Android Client'
  1. Android Client
  2. AC-399

Cannot start visits for downloaded users in Android Versions > 4.4

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • TBD
    • Resolution: Won't Fix
    • None
    • None
    • Medium

    Description

      Steps:
      1. Go to find patient
      2. Click on '+' button.
      3. It will show the download-able patients list.
      4. Download one patient and open.
      5. Go to VISITS tab and start new visit.
      6. It will show 'Bad Request' toast.

      This is the json received.

      {"error":{"message":"Invalid Submission","code":"webservices.rest.error.invalid.submission","globalErrors":[],"fieldErrors":{"visitType":[{"code":"Visit.error.visitType.required","message":"Visit Type is required"}]}}}

      Sometime 'visitType' in shared preference becomes empty and then you can't start visits. To solve this issue, we need to make sure 'visitType' is not empty.

      Gliffy Diagrams

        Attachments

          Activity

            People

              Unassigned Unassigned
              choxmi Choxmi Sathsara
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 week
                  1w
                  Remaining:
                  Remaining Estimate - 1 week
                  1w
                  Logged:
                  Time Spent - Not Specified
                  Not Specified