-
Notifications
You must be signed in to change notification settings - Fork 0
Description
@lnlina
appdata should be saved as key-value pair.
The format for appdata is:
"The keys that developers specify to index this data must only contain alphanumeric (A-Za-z0-9) characters, underscore(_), dot(.) or dash(-)."
In ILS you save data that users input as a key, which is incorrect.
For example, the user tries to put "Anna Fiakkou" which causes an exception below in shindig.
107 INFO: A response error is being returned because a protocol exception occurred.
108 org.apache.shindig.protocol.ProtocolException: One or more of the app data keys are invalid: Anna Fiakkou
109 at org.apache.shindig.social.opensocial.service.AppDataHandler.create(AppDataHandler.java:109)
110 at org.apache.shindig.social.opensocial.service.AppDataHandler.update(AppDataHandler.java:86)
111 at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source)