GNOME Bugzilla – Bug 780934
Component not moved when changing calendar in editor
Last modified: 2017-06-30 10:59:13 UTC
When I move a task hosted on EWS from one list to another, the original task is not deleted. I have to remove it manually. Otherwise, I'll have two duplicate tasks.
Thanks for a bug report. Are you moving between two EWS task lists, or from an EWS task list to another type of task list? By the way, how did you "move" it, please? There is no such option in the context menu above the task, thus either you can edit it and change the Task List there (in which case it's really copied to the new task list, rather than moved), or you can drag&drop it above the other task list, in which case, if move is chosen, it's moved. I'm not sure whether the change of the Task List in the editor should behave as a move. It's also because the destination task list may not support all the features the source task list does, like saving data and time, instead of only dates, for the task Start/Due/Completed dates. It means that there can happen some sort of data loss with the change of the task list.
Ah, ok, I did not know that selecting a new list from the menu was copying. I thought it was for moving, but I see what you mean now that there many be incompatibilities. Also, I did not know that you could drag events. That seems to work. Thanks.
Actually, now that I think about it, I believe that changing the task list via the context menu should *move* the task *if* the list is on the same server. Otherwise, the current behavior is acceptable. If they are on the same server, there should be no change for a data loss, no?
I'm sorry, I'm still confused, a "context menu" is something shown with a right-click above an object, which offers you actions you can do with that object. As I said, context menu in the task view doesn't offer anything like "Move to Task list", thus I'd just like to make sure that we talk about the same, which is: Changing Task List in the task editor, that is in the dialog, which is shown when double-clicking particular task in the list of tasks. Is it it, please?
(In reply to Milan Crha from comment #4) > I'm sorry, I'm still confused, a "context menu" is something shown with a > right-click above an object, which offers you actions you can do with that > object. As I said, context menu in the task view doesn't offer anything like > "Move to Task list", thus I'd just like to make sure that we talk about the > same, which is: Changing Task List in the task editor, that is in the > dialog, which is shown when double-clicking particular task in the list of > tasks. Is it it, please? Yes, sorry for the confusion. That is exactly what I meant. That is, I meant say the task dialog that appears when double clicking a task (task editor). Thanks for clearing it up.
Ah, I just realized that it was a bug, not intention, to copy the component. It was supposed to remove the original component, regardless where it was, but that attempt failed, because the component wasn't found, because it had updated UID from the target calendar/task/memo list, which makes sense. I fixed that with the below change. Created commit 2493350 in evo master (3.25.4+) Created commit ac3bc5e in evo gnome-3-24 (3.24.4+)