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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20107 Mon Jan 04 14:08:17 MST 2010 mircea.toma PUSH-9 Stop sending additional '\n' characters in response.
        Files Changed
        Commit graph MODIFY /scratchpads/snowplow/core/src/main/java/org/icepush/servlet/BrowserBoundServlet.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: