Summary | deleting parent task before child task makes child unaccessible |
Queue | Nag |
Queue Version | 4.2.3 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org, mrubinsk (at) horde (dot) org |
Requester | horde (at) equaeghe (dot) nospammail (dot) net |
Created | 01/16/2015 (3833 days ago) |
Due | |
Updated | 12/27/2015 (3488 days ago) |
Assigned | 01/16/2015 (3833 days ago) |
Resolved | 01/16/2015 (3833 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
a problem.
Is there something I'm missing on getting rid of this?
I've attached two pictures.
#2).responding to edit commands or visible in the eM Client Task
listing. I also built another Task with the same name in the eM
Client to see what would happen. It is visible and can be edited.
Regards,
Jim Robinson PE
are you deleting them? If via some external application, this is
probably fixed by:
https://github.com/horde/horde/commit/6e8e64b20df55a5f3eac2e5fc99fdcb270e84c4e
which will be in the next bug fix release.
New Attachment: Task Crash.png
Is there something I'm missing on getting rid of this?
I've attached two pictures.
1. The first is the Parent/Child relationships that are not longer
responding to edit commands or visible in the eM Client Task listing.
I also built another Task with the same name in the eM Client to see
what would happen. It is visible and can be edited.
2. The error message.
Regards,
Jim Robinson PE
commit 6144ac6958a5bb2e983469b1480fdd14689ffabf
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Fri Mar 27 13:40:55 2015 -0400
Don't allow deletion of tasks with children (
Bug #13809).This needs to be done in the controller. Couldn't find anywhere
in existing code that would use the _delete() function implemented
on tasks.php - maybe it's there for BC? Probably should be removed.
nag/app/controllers/SaveTask.php | 26 ++++++++++++++++----------
1 files changed, 16 insertions(+), 10 deletions(-)
http://github.com/horde/horde/commit/6144ac6958a5bb2e983469b1480fdd14689ffabf
commit fd868dc5d2f9d531b49d24b51aa52c9bb99956ef
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Fri Mar 27 13:40:55 2015 -0400
Don't allow deletion of tasks with children (
Bug #13809).This needs to be done in the controller. Couldn't find anywhere
in existing code that would use the _delete() function implemented
on tasks.php - maybe it's there for BC? Probably should be removed.
nag/app/controllers/SaveTask.php | 26 ++++++++++++++++----------
1 files changed, 16 insertions(+), 10 deletions(-)
http://github.com/horde/horde/commit/fd868dc5d2f9d531b49d24b51aa52c9bb99956ef
commit 0faf58d81bee50cfe611c009866bf866cb8975eb
Author: Jan Schneider <jan@horde.org>
Date: Fri Jan 16 17:36:07 2015 +0100
Don't allow deletion of tasks with sub-tasks (
Bug #13809).nag/task.php | 21 +++++++++++++--------
nag/templates/view/task.inc | 2 +-
2 files changed, 14 insertions(+), 9 deletions(-)
http://github.com/horde/horde/commit/0faf58d81bee50cfe611c009866bf866cb8975eb
State ⇒ Resolved
commit 73c991cf01b8a8d4c123b555c6590d3982a9562e
Author: Jan Schneider <jan@horde.org>
Date: Fri Jan 16 17:36:07 2015 +0100
Don't allow deletion of tasks with sub-tasks (
Bug #13809).nag/task.php | 21 +++++++++++++--------
nag/templates/view/task.inc | 2 +-
2 files changed, 14 insertions(+), 9 deletions(-)
http://github.com/horde/horde/commit/73c991cf01b8a8d4c123b555c6590d3982a9562e
at least in theory. So how did you actually delete the parent task?
1. create task titled "parent-task"
2. create task titled "child task" with parent "parent-task"
3. click "parent-task" in the task list
4. click the remove (delete?) button in the button row on top
5. confirm ("task-parent" deleted)
6. click "child-task" in the task list (error message appears, nothing
else happens)
at least in theory. So how did you actually delete the parent task?
becomes unaccessible:
Lightning, the Thunderbird calendar component.
iCalendar client, so it deals with VCalendars), but from the Horde UI
perspective, indeed, it is a task list. (Many clients allow calendar
entries and todos in the same calendar file).
copy move all non-orphaned tasks to there and delete the old one,
with the orphans still there.
State ⇒ Feedback
becomes unaccessible:
be displayed and no action to be taken. Furthermore, the calendar
becomes unsyncable (via CalDav) from Lightning, the Thunderbird
calendar component.
the child task is still there, empty. This may be relevant.
Currently the only workaround I found is to create a new calendar
and copy move all non-orphaned tasks to there and delete the old
one, with the orphans still there.
Patch ⇒ No
State ⇒ Unconfirmed
Milestone ⇒
Queue ⇒ Nag
Summary ⇒ deleting parent task before child task makes child unaccessible
Type ⇒ Bug
Priority ⇒ 2. Medium
unaccessible: any attempt to access it causes a error message ?Task
not found? to be displayed and no action to be taken. Furthermore, the
calendar becomes unsyncable (via CalDav) from Lightning, the
Thunderbird calendar component.
When I iCal-export the task list, the Related-To attribute of the the
child task is still there, empty. This may be relevant.
Currently the only workaround I found is to create a new calendar and
copy move all non-orphaned tasks to there and delete the old one, with
the orphans still there.
Is there a faster workaround for solving this problem, deleting the
orphaned tasks in some way, or ?editing the raw iCal??