← Back to team overview

mahara-contributors team mailing list archive

[Bug 1031592] A change has been merged

 

Reviewed:  https://reviews.mahara.org/1472
Committed: http://gitorious.org/mahara/mahara/commit/ba9d425cc20bc793ead22dcc065cfc77a89e183c
Submitter: Hugh Davenport (hugh@xxxxxxxxxxxxxxx)
Branch:    master

commit ba9d425cc20bc793ead22dcc065cfc77a89e183c
Author: Son Nguyen <son.nguyen@xxxxxxxxxxxxxxx>
Date:   Tue Aug 14 10:36:39 2012 +1200

    Folder should not be deleted if containing submitted files or subfolders
    
    (Bug #1031592)
    
    Add a function can_be_deleted() to file and folder artefact to check if
    all its children artefact are not locked.
    
    Change-Id: I31fe49c426439748d3d7174943c302e7275d758c
    Signed-off-by: Son Nguyen <son.nguyen@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1031592

Title:
  Folder should not be deleted if containing submitted files or
  subfolders

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  Version: master
  Database: all
  Browser: all
  Assumptions
   - a group with "Allow to submit"
   - a submitted page has "File(s) to download" block and "Folder" block
  Actions
   - Delete folders which contains files defined in "File(s) to download" block and/or subfolders defined in "Folder" block.
  Expected results
   - These actions shouldnot be carried out.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1031592/+subscriptions


References