Skip to content

User registration with groups inserts odd rows #60

@Swader

Description

@Swader

When I put this POST data directly into the Gatekeeper::register method:

screenshot 2016-03-13 09 12 03

Then my records go from this:

screenshot 2016-03-13 09 08 27

to this:

screenshot 2016-03-13 09 10 04

and I also get an additional MySQL error: DB ERROR: [23000] Duplicate entry '1-12' for key 'group_id'

In other words, when inserting this data, GK not only tries to insert a group-user pair twice, it also for some reason grabs the ID of the last inserted user-group pair row and uses that ID as the next user ID.

Am investigating further.

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