Thank you Caleb! Updated Documentation accordingly.
Суббота, 23 ноября 2013, 10:45 +01:00 от Caleb James DeLisle <c...@hyperboria.ca>: >The next two versions are going to be stabilization versions which means we >want to >avoid "new features" and internally this is a matter of implementing a new >feature. >Moving files around on your filesystem is not supported at all, it will >corrupt your >wiki. If you delete an attachment using the normal method, it goes in the >deleted >attachments directory (there are also changes in the database which is why you >must >not move files). Deleting the attachment creates a new version of the >document. If >you rollback the document it will restore the deleted attachment. If you >delete the >document and then click delete again to permanently expunge the document from >history, >the attachment will be removed from your system. This is the same with DB and >FS >attachments. > >Thanks, >Caleb > > >On 11/23/2013 02:48 AM, Dmitry Bakbardin wrote: >> Hi, Caleb, >> >> Is this task in any close Roadmap? Because now the only way I see to handle >> this is to turn off attachment's recycle bin to avoid mess in filesystem. >> Is it correct from XWiki's poin of view to copy deleted file back to the >> /attachments/<filename> folder in order to resore it? Is it enough or >> something else should be done for this? (it's in case of accidental >> cituation for now) >> >> By the way: what happens now from database and filesystem point of view if >> page with attachments is deleted? Are attachments restorable in a proper way >> if being restored together with page? Any unknown problems expected? >> >> >> >> Пятница, 22 ноября 2013, 9:13 +01:00 от Caleb James DeLisle < >> c...@hyperboria.ca >: >>> I'd like to get this working but it's a bit of a headache. >>> When I originally developed FS attachments, I didn't realize there was an >>> application >>> (XWiki.DeletedAttachments) which was looking for attachments.... in the >>> database. >>> Since they're gone from the database now this application is unhappy. >>> I just need to find time to write a workaround for the issue and a migrator >>> to put >>> fake attachments in the database so that XWiki.DeletedAttachments sees what >>> it wants >>> to see. >>> >>> Thanks, >>> Caleb >>> >>> On 11/22/2013 03:37 AM, Dmitry Bakbardin wrote: >>>> Hi, All >>>> >>>> There is a problem in XWiki which makes work with attachments very painful >>>> when filestorage is on: no way to manage them. Actually no "recycle bin" >>>> available for them in this case. >>>> >>>> There is an issue in jira: XWiki.DeletedAttachments shows nothing when >>>> filesystem attachments are enabled . >>>> >>>> What are plans in fixing it? >>>> >>>> Kind regards, >>>> >>>> Dmitry >>>> _______________________________________________ >>>> users mailing list >>>> users@xwiki.org >>>> http://lists.xwiki.org/mailman/listinfo/users >>>> >>> _______________________________________________ >>> users mailing list >>> users@xwiki.org >>> http://lists.xwiki.org/mailman/listinfo/users >> >> >> Kind regards, >> >> Dmitry >> _______________________________________________ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> >_______________________________________________ >users mailing list >users@xwiki.org >http://lists.xwiki.org/mailman/listinfo/users Kind regards, Dmitry _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users