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

'isPushed' field on Lead class causes exception when send to server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.2.0
    • 1.1.0
    • None

      When trying to 'Accept' a lead, I get the following error on the console:

      "Expected status code in (200-299), got 400" UserInfo=0x1c513030 {NSLocalizedRecoverySuggestion=Unrecognized field "isPushed" (Class org.jboss.aerogear.aerodoc.model.Lead), not marked as ignorable
       at [Source: org.apache.catalina.connector.CoyoteInputStream@7ed58f83; line: 1, column: 105] (through reference chain: org.jboss.aerogear.aerodoc.model.Lead["isPushed"])
      

      not sure why this issue is caused now and what has been changed on the server part.

      Digging to the source I saw the field not being used since a 'pushedStorage' is used to determine the 'pushed' leads. Went ahead and removed the field and through my tests the app is working correctly now.

              cvasilak_jira Christos Vasilakis (Inactive)
              cvasilak_jira Christos Vasilakis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: