[
https://issues.apache.org/jira/browse/SHINDIG-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gonzalo Aune updated SHINDIG-483:
---------------------------------
Attachment: fix-activities.patch
I remove the 2 ifs, first of all, it threw an error when trying to do this:
activity.get(Activity.Field.APP_ID.toString())
I realized that if doesnt have the field, it throw an JSONException, so i use
activity.has(Activity.Field.APP_ID.toString()) to validate if it has the field,
but then, it couldnt add any activity so it couldt show them, so i finally
removed all those ifs and so just a simple
result.add(convertToActivity(activity, fields));
G.-
> Error in Activities functions using JsonDB
> ------------------------------------------
>
> Key: SHINDIG-483
> URL: https://issues.apache.org/jira/browse/SHINDIG-483
> Project: Shindig
> Issue Type: Bug
> Components: Gadget Rendering Server (Java)
> Reporter: Gonzalo Aune
> Attachments: fix-activities.patch
>
>
> Using the Json db example and SocialActivitiesWorld.xml gadget, ir throws
> errors because it cant add activities neither show them
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.