Zim

Deleting a page with files into the directory

Bug #320433 reported by MarcAtQuod
2
Affects Status Importance Assigned to Milestone
Zim
Status tracked in Pyzim
Pyzim
Fix Released
Medium
Jaap Karssenberg

Bug Description

When I try to delete a page with documents joined on it, removing fails. After manualy deleting the "joined files", the page can be removed.

Revision history for this message
MarcAtQuod (marc-launchpad) wrote :
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Yes, recursive delete seemed a bad idea at the time. When we implement the thrash bin (see bug #297273) that might be more easy.

Still keep in mind that the files are not necessarily only part of the page below which they are stored. They may also be linked from different pages. Probably we should detect that and if that is the case present a confirmation dialog with a detailed list of links to this set of files.

Changed in zim:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Like move, delete should work recursive. Implementing a Trashbin would be nice, but no sine qua non for this item.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Implemented in the python branch

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.