You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mesh4x Discussion
Hello,
I'm using the FeedAdapter Java class in oder to manage a feed in a
file.
At a moment, via a web application, the user choose an item to delete,
and so I mark it as deleted with an instruction like this:
item.getSync().delete('odelia', new Date())
this statement puts the sync attribute deleted to 'true'
Then I would like the adapter to save this change, and do this:
adapter.update(item)
The problem is that the item loses its payload; it's what's the source
code for the updates method does.
Is it a normal behavior for the FeedAdapter.update method? Or do I
choose another way to update my feed on disk?
Thank you.
Cheers,
Bertrand.
Daniel Cazzulino
unread,
Jun 23, 2008, 4:50:07 PM6/23/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mes...@googlegroups.com
that's expected behavior per the feedsync spec. implementations are allowed to discard the payload for deleted items in order to preserve space.
would you prefer to have that as an option? why would you need the payload once it's deleted?
bgoetzmann
unread,
Jun 23, 2008, 5:11:38 PM6/23/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mesh4x Discussion
Thank you Daniel for this precision about the specification.
I progress in the discovery of FeedSync, testing it in a web
application (Grails + Ext JS)!
Bertrand.
> > Bertrand.- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -
Daniel Cazzulino
unread,
Jun 23, 2008, 10:39:03 PM6/23/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mes...@googlegroups.com
very cool!
let us know how it works for you, and any suggestions for improvements you may have.