no way to delete a section in sections index of a course

Bug #361265 reported by Thomas Richter
2
Affects Status Importance Assigned to Milestone
SchoolTool
New
Medium
Unassigned

Bug Description

In the listings of all sections to a course there should be the possibility to mark each section for deletion but there is no link or button for this. This is against the CRUD pattern.

url:
http://localhost:7080/schoolyears/2009-2010/courses/python-for-beginners/@@index.html

Tags: usability
description: updated
Revision history for this message
Tom Hoffman (tom-hoffman) wrote :

This is trickier than it might sound. You don't want sections that contain valid data to be deleted, ever. Your really only want to allow people to get rid of mistakes. Differentiating between the two is tricky, and extraneous empty sections are mostly harmless.

Changed in schooltool:
importance: Undecided → Medium
Revision history for this message
Thomas Richter (thomas-richter) wrote : Re: [Bug 361265] Re: no way to delete a section in sections index of a course

Am Dienstag, den 14.04.2009, 19:00 +0000 schrieb Tom Hoffman:
> This is trickier than it might sound. You don't want sections that
> contain valid data to be deleted, ever. Your really only want to allow
> people to get rid of mistakes. Differentiating between the two is
> tricky, and extraneous empty sections are mostly harmless
Proposal: sections can only be deleted if they contain no other objects
inside. same as if you delete a directory in linux with rmdir it will
say to youif some files are in that it can not be deleted because
directory not empty.

what do you think?
>
> ** Changed in: schooltool
> Importance: Undecided => Medium
>

Revision history for this message
Tom Hoffman (tom-hoffman) wrote :

This is a reasonable approach. It just might be a little more complicated than you think, because "containment" is a little less straightforward in our object model than it is in a file system -- our db is not strictly hierarchical.

tags: added: usability
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.