MantisBT - Piwigo
View Issue Details
0002081Piwigoalbumspublic2010.12.22 22:362014.08.24 19:02
plg 
plg 
normalfeatureN/A
assignedopen 
2.1.5 
2.8.0beta1 
any
Apache 1.3.x
0002081: options for photo deletion when deleting an album
When deleting an album, you may choose to:

1. delete also photos, even if they are associated to another album
2. delete only photos than become orphans, ie with no album
3. delete no photo
No tags attached.
Issue History
2010.12.22 22:36plgNew Issue
2010.12.22 22:36plgStatusnew => assigned
2010.12.22 22:36plgAssigned To => plg
2010.12.22 22:36plgbrowser => any
2010.12.22 22:36plgWeb server => Apache 1.3.x
2010.12.23 21:48svnCheckin
2010.12.23 21:48svnNote Added: 0004582
2010.12.23 21:49plgNote Added: 0004583
2010.12.23 21:51svnCheckin
2010.12.23 21:51svnNote Added: 0004585
2011.01.18 15:43plgTarget Version2.2 => 2.3
2011.03.08 09:38plgNote Added: 0004880
2011.03.08 09:39plgAssigned Toplg => cljosse
2013.06.05 11:51plgTarget Version2.3.0beta1 => 2.6.0beta1
2013.06.05 11:51plgAssigned Tocljosse => plg
2013.06.22 09:54plgTarget Version2.6.0beta1 => 2.6.0beta2
2013.11.01 14:01plgTarget Version2.6.0beta2 => 2.6.0RC1
2013.11.19 23:40plgTarget Version2.6.0RC1 => 2.6.0RC2
2013.12.12 11:51plgTarget Version2.6.0RC2 => 2.7.0beta1
2014.08.24 19:02plgTarget Version2.7.0beta1 => 2.8.0beta1

Notes
(0004582)
svn   
2010.12.23 21:48   
[Subversion] r8265 by plg on trunk

-----[Subversion commit log]----------------------------------------------------
feature 2081 added: ability to choose what to do with photos when deleting an
album : no_delete, delete_orphans, force_delete. Backend only.
(0004583)
plg   
2010.12.23 21:49   
This feature is currently implemented at backend only. When you remove an album on [Administration > Albums > Manage] screen, the "no_delete" mode is activated.
(0004585)
svn   
2010.12.23 21:51   
[Subversion] r8266 by plg on trunk

-----[Subversion commit log]----------------------------------------------------
feature 2080 added: add methods pwg.images.delete and pwg.categories.delete from
pwg.images.addSimple plugin. pwg.categories.delete implements the new
photo_deletion_mode (see feature:2081) and set it to "delete_orphans" by default.
(0004880)
plg   
2011.03.08 09:38   
In the confirmation popup, depending on the photos in the album, we could display a message :

1)

Delete album "Events / Birthday Party". This album contains 31 photos and 23 will become orphan.

[Delete all photos] [Delete orphan photos] [Keep all photos] [Cancel]

2)

Delete album "Events / Birthday Party". 18 photos will become orphan.

[Delete orphan photos] [Keep all photos] [Cancel]

3)

Delete album "Events / Birthday Party".

[Confirm deletion] [Cancel]