Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

confusion between uid and name #184

Open
grrosminet opened this issue Jun 23, 2022 · 1 comment
Open

confusion between uid and name #184

grrosminet opened this issue Jun 23, 2022 · 1 comment

Comments

@grrosminet
Copy link

grrosminet commented Jun 23, 2022

I'have installed from applications market.

I have created a database following the model provided in README.md

and got theses errors :
2022-06-23 21:01:10.766 CEST [6458] ident@ident INSTRUCTION : SELECT COUNT(g.gid) > 0 AS admin FROM CloudGroup g, CloudUserGroup ug WHERE ug.gid = g.gid AND ug.uid = $1 AND g.admin 2022-06-23 21:01:10.767 CEST [6458] ident@ident ERREUR: syntaxe en entrée invalide pour le type integer : « thierry »

why does it put a string instead of an id ?!

@rotdrop
Copy link
Contributor

rotdrop commented Aug 22, 2023

See also my other issue #189.

The point here is that the example given in the README.md probably -- at least nowadays -- cannot work, as the user_sql app injects the Nextcloud user-id (which indeed is a string) as search term for its own UID column (which is an integer for that example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants