Hello all,
Doing some testing on AeroDoc iOS client demo, I noticed that AeroDoc fails
to broadcast when lead has been accepted. Stack trace is:
org.jboss.aerogear.connectivity.rest.sender.PushNotificationSenderEndpoint.broadcast(java.util.Map,javax.servlet.http.HttpServletRequest):
javax.ejb.EJBException: java.lang.ClassCastException:
java.util.LinkedHashMap cannot be cast to java.lang.String
The root of the error is the String cast here:
https://github.com/aerogear/aerogear-unified-push-server/blob/master/src/...
whereas in AeroDoc backend we feed a Map:
https://github.com/aerogear/aerogear-push-quickstart-backend/blob/master/...
Which one is wrong?
Not sure the cast into string is wright.
I've open an iOS JIRA at first thinking this was a client issue
https://issues.jboss.org/browse/AGIOS-49#comment-12792805
++
Corinne