Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-3676

Response from push server ignored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 1.2.0
    • 1.2.0
    • None
    • None

    Description

      When Registrar#register is called, there is nothing that would check the server response, so even if the call wasn't successful, if it didn't throw an exception, it will be reported as a successful call.

      On this line, HeaderAndBody object is being returned from the call but ignored and not verified:
      https://github.com/aerogear/aerogear-android/blob/push/src/org/jboss/aerogear/android/unifiedpush/Registrar.java#L126

      Attachments

        Activity

          People

            supittma@redhat.com Summers Pittman (Inactive)
            tkriz_jira Tadeas Kriz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: