Skip to content

confusion between uid and name #184

Open

Description

@grrosminet

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 ?!

Activity

  1. rotdrop commented on Aug 22, 2023

    @rotdrop
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions