persistence API, Deleting attachments

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

persistence API, Deleting attachments

bwallis42
I'm writing a persistence API implementation, currently just an in memory prototype, and have observed that attachments to forms are PUT to the store but they are never DELETEed.

For example, if I have a file attachment control on a form and attach a file it is written to the store but if I click on the delete button it isn't deleted from the store. I can then attach and delete  a number of times and the number of attachments in the store increases.

I would have expected a DELETE call to the persistence API when I clicked on the delete attachment button (the red X).

thanks
brian...
Reply | Threaded
Open this post in threaded view
|

Re: persistence API, Deleting attachments

Erik Bruchez
Administrator
You are correct, and we have an issue to track this:

    https://github.com/orbeon/orbeon-forms/issues/271

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: persistence API, Deleting attachments

bwallis42
Thanks. I'll subscribe to notifications on the issue.