nextcloud / collectives

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

Bad request when changing collective folder path #1515

Closed Ornanovitch closed 2 weeks ago

Ornanovitch commented 1 month ago

Describe the bug When using the new option which allows to change the Collective folder path, I got the following errors:

From the UI (toast): Could not update collectives folder: [object Object]

From the browser logs :

XHRPOST
https://{masked}/ocs/v2.php/apps/collectives/api/v1.0/settings/user
[HTTP/2 400  202ms]

ocs Object { data: "Invalid collectives folder path", meta: {…} }

I can't see anything relevant into the Nextcloud logs

To Reproduce Steps to reproduce the behavior:

  1. Go to the Collectives folder parameter
  2. Select a new path (an empty new folder in my case)
  3. See error

Expected behavior Collectives folder is successfully updated

Server details:

Client details:

mejo- commented 2 weeks ago

@Ornanovitch I was unable to reproduce your issue on both Nextcloud 29 and 30. Could it be that you still had an old version of the collectives app loaded while experiencing this bug?

Could you please try to reproduce the bug again after force-reloading the collectives app (Ctrl-F5 on most browsers)?

Ornanovitch commented 2 weeks ago

Sorry for the lack of update on this issue, I just tried with the latest stable versions of both Nextcloud and Collective and I am not able to reproduce anymore :)

Thanks!