nextcloud / collectives

Collectives is a Nextcloud App for activist and community projects to organize together.
GNU Affero General Public License v3.0
86 stars 12 forks source link

Can't share public link with "edit" permissions #1327

Open xmarti6 opened 2 weeks ago

xmarti6 commented 2 weeks ago

Describe the bug In NC 27.1.10 - Collectives app 2.11.0, we experienced an issue when we wanted to share a public link with "edit" permissions. We cant select "edit" option, see the short-mp4 screen capture attached. We did an ugprade of 27.1.9 along with apps updates. We did not experience that behaviour in previous version.

Many thanks for your time and effort

To Reproduce Got to Colectives app create a sample page Create Share link Select "edit" permissions, you can't

Expected behavior A clear and concise description of what you expected to happen.

Screenshots short-mp4 attached

https://github.com/nextcloud/collectives/assets/8579969/74ca8e5c-5839-441a-9586-48f87b55ac65

Server details:

Client details:

Logs #### Browser log ``` Failed to update share link Object { stack: "r@https://mydomain.com/custom_apps/collectives/js/collectives-main.js?v=8cddc339-15:2:3397799\nr@https://mydomain.com/custom_apps/collectives/js/collectives-main.js?v=8cddc339-15:2:3404626\nC@https://mydomain.com/custom_apps/collectives/js/collectives-main.js?v=8cddc339-15:2:3391496\nEventHandlerNonNull*6672/_
pjrobertson commented 1 week ago

Confirmed same issue here:

Nextcloud Hub 8 (29.0.1) Collectives 2.10.1

Not sure if it's related, but I got this error in the log:

Debug   no app in context   
Exception dirty table reads: SELECT `co`.`id` as `folder_id`, `fileid`, `storage`, `path`, `fc`.`name` as `name`, `mimetype`, `mimepart`, `size`, `mtime`, `storage_mtime`, `etag`, `encrypted`, `parent`, `fc`.`permissions` as `permissions` FROM `*PREFIX*collectives` `co` LEFT JOIN `*PREFIX*filecache` `fc` ON (`fc`.`name` = (CAST(`co`.`id` AS TEXT) || CAST('' AS TEXT))) AND (`parent` = :dcValue1) WHERE `co`.`id` = :dcValue2

https://github.com/nextcloud/collectives/assets/150431/19f41268-7282-454d-b8cb-2e352078e067