ICEpush
  1. ICEpush
  2. PUSH-9

Extra Newlines being appended to create-push-id response.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-Alpha2
    • Component/s: None
    • Labels:
      None
    • Environment:
      all

      Description

      There are two extra newlines being appended to the end of the create-push-id ajax response. This is leading to an incorrect pushId being returned via the JS push API and the subsequent call to addGroupMembership is registering the wrong id to a group - thus no notifications are recieved.

      Proposed solution:

      1.) trim() the pushId before returning it to the user

      2.) BrowserBoundServlet.java (line 28) . Delete this line.

        Activity

        Hide
        Patrick Wilson added a comment -

        Assigning to Mircea for analysis.

        Show
        Patrick Wilson added a comment - Assigning to Mircea for analysis.
        Hide
        Mircea Toma added a comment -

        Stop sending additional '\n' characters in response.

        Show
        Mircea Toma added a comment - Stop sending additional '\n' characters in response.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Patrick Wilson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: