alainm23 / planify

Task manager with Todoist & Nextcloud support designed for GNU/Linux 🚀
GNU General Public License v3.0
3.45k stars 205 forks source link

Nextcloud tasks cannot be moved between projects (lists) #1368

Open bipox opened 1 month ago

bipox commented 1 month ago

Describe the bug A task created inside a Nextcloud project can't be moved to another Nextcloud project

To Reproduce Steps to reproduce the behavior:

  1. In Nextcloud project A create task "task1"
  2. drag task1 to project B
  3. task1 disappears from project A for a second, then reappears still in project A
  4. right click "move" a task will have the same behaviour

I have tried this on a fresh Planify install.

Desktop (please complete the following information):

alainm23 commented 1 month ago

You could run Planify in the terminal, to see the error log.

flatpak run io.github.alainm23.planify

bipox commented 1 month ago

planify.txt

Nothing new appears in the terminal when I reproduce the error.

Also those errors appeared who weren't copied to the text file:

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:56.808: gtk_box_append: assertion 'GTK_IS_WIDGET (child)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.098: gtk_text_buffer_set_text: assertion 'text != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.107: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.107: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.107: gtk_text_buffer_set_text: assertion 'text != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.112: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.112: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.112: gtk_text_buffer_set_text: assertion 'text != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.117: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.117: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.117: gtk_text_buffer_set_text: assertion 'text != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.121: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.121: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.122: gtk_text_buffer_set_text: assertion 'text != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.127: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.127: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.127: gtk_text_buffer_set_text: assertion 'text != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.132: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.132: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.132: gtk_text_buffer_set_text: assertion 'text != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.137: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.137: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.137: gtk_text_buffer_set_text: assertion 'text != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.142: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.142: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.142: gtk_text_buffer_set_text: assertion 'text != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.147: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.147: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.147: gtk_text_buffer_set_text: assertion 'text != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.151: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.151: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.152: gtk_text_buffer_set_text: assertion 'text != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.156: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.156: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.157: gtk_text_buffer_set_text: assertion 'text != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.162: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.162: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.162: gtk_text_buffer_set_text: assertion 'text != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.167: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.167: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.167: gtk_text_buffer_set_text: assertion 'text != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.172: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.172: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.172: gtk_text_buffer_set_text: assertion 'text != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.177: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:06:57.177: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed

** (io.github.alainm23.planify:2): CRITICAL **: 01:07:09.531: objects_project_get_inbox_section_hidded: assertion 'self != NULL' failed

(io.github.alainm23.planify:2): Gtk-CRITICAL **: 01:07:09.532: gtk_revealer_set_reveal_child: assertion 'GTK_IS_REVEALER (revealer)' failed

(io.github.alainm23.planify:2): GLib-GObject-CRITICAL **: 01:07:10.241: ../gobject/gsignal.c:2685: instance '0x5633d033d710' has no handler with id '37768'
alainm23 commented 1 month ago

You could upgrade to Planify 4.10.0 and check what error it gives you, I have added some log features.

bipox commented 4 weeks ago
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:exception>Sabre\DAV\Exception\Forbidden</s:exception>
  <s:message>Requested uri (/remote.php/dav/calendars/wam/fa1fea1f-8858-4d35-8a9e-d313ca4510f8/c47f7392-c4c7-440f-b18b-bd7f18268c28.ics) is out of base uri (/nextcloud/remote.php/dav/)</s:message>
</d:error>
alainm23 commented 4 weeks ago

@bipox Oh, I think I know where the error is going, you also have nextcloud enabled in a customised path, right?

I think the problem is the target url. Do you have access to your nextcloud instance on web? you could move a task and check which url is running, I send you a video so you understand what to do.

https://github.com/user-attachments/assets/44b5fb57-3fb4-45b4-8847-fbed8cf5cdb1

bipox commented 4 weeks ago
Request URL:
https://mydomain.com/nextcloud/remote.php/dav/calendars/wam/test-4/446BEF91-66C9-42AC-8052-3AAAC97251CC.ics
Request Method:
MOVE
destination:
/nextcloud/remote.php/dav/calendars/wam/test-3/446BEF91-66C9-42AC-8052-3AAAC97251CC.ics

Is that the info you needed?