You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i get an exception when changing the access level of a Nextcloud user in a Cospend project.
Steps to reproduce:
Create a new Cospend project
Add a Nextcloud user to the project
Change the access level of the new user
Result:
You can see an error message pop and the access level is not changed.
The Nextcloud log shows the following error:
[index] Error: Exception: Call to undefined method OC\DB\QueryBuilder\QueryBuilder::executeStatement() at <<closure>>
0. /srv/www/nextcloud/lib/private/AppFramework/App.php line 152
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Cospend\Cont ... }}, "addUserShare")
1. /srv/www/nextcloud/lib/private/Route/Router.php line 309
OC\AppFramework\App::main("OCA\\Cospend\\C ... r", "addUserShare", OC\AppFramework\ ... {}, {projectid: "ges ... "})
2. /srv/www/nextcloud/lib/base.php line 1008
OC\Route\Router->match("/apps/cospend/p ... e")
3. /srv/www/nextcloud/index.php line 37
OC::handleRequest()
POST /nextcloud/index.php/apps/cospend/projects/geschenke/user-share
from 146.52.193.171 by sebastian at 2021-06-19T23:59:21+00:00
Version:
Nextcloud 20.0.10
Cospend 1.3.6
Preanalysis:
I did a bit of digging the code. The undefined function is added for Nextcloud 22. Relevant PRs:
I am not sure if this is Nextcloud server issue or a Cospend issue. So far, I have seen this issue only with Cospend and no other app.
Workaround:
I copied the new executeStatement function from Nextcloud 22 to my installation. The function is basically a wrapper for execute. This resolved the issue for me.
The text was updated successfully, but these errors were encountered:
Hi, i get an exception when changing the access level of a Nextcloud user in a Cospend project.
Steps to reproduce:
Result:
You can see an error message pop and the access level is not changed.
The Nextcloud log shows the following error:
Version:
Nextcloud 20.0.10
Cospend 1.3.6
Preanalysis:
I did a bit of digging the code. The undefined function is added for Nextcloud 22. Relevant PRs:
I am not sure if this is Nextcloud server issue or a Cospend issue. So far, I have seen this issue only with Cospend and no other app.
Workaround:
I copied the new
executeStatement
function from Nextcloud 22 to my installation. The function is basically a wrapper forexecute
. This resolved the issue for me.The text was updated successfully, but these errors were encountered: