I’m no longer able to add users to custom groups , as of 4bad697. EDIT: see post below.
I’ve tried both in the groups page and on the admin user page. The latter sometimes gives “An error has occured”. Sometimes it appears to work but doesn’t stick, on page reload the group is gone.
This worked fine yesterday. Pretty sure this latest version introduced the problem.
Logged error:
ActiveRecord::RecordNotUnique (PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_group_users_on_group_id_and_user_id"
DETAIL: Key (group_id, user_id)=(41, 1494) already exists.
: INSERT INTO "group_users" ("created_at", "group_id", "updated_at", "user_id") VALUES ($1, $2, $3, $4) RETURNING "id")