You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Michael Jumper (JIRA)" <ji...@apache.org> on 2016/08/11 23:48:20 UTC

[jira] [Created] (GUACAMOLE-75) Cloning a user results in a blank error dialog

Michael Jumper created GUACAMOLE-75:
---------------------------------------

             Summary: Cloning a user results in a blank error dialog
                 Key: GUACAMOLE-75
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-75
             Project: Guacamole
          Issue Type: Bug
          Components: guacamole-auth-jdbc
            Reporter: Michael Jumper
            Priority: Blocker


When attempting to create a user using the "Clone" button, clicking "Save" universally results in a blank error dialog. The underlying error is a unique key violation due to duplicate permission for the user to read themselves:

{quote}
{code:none}
...
Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "guacamole_user_permission_pkey"
  Detail: Key (user_id, affected_user_id, permission)=(8, 8, READ) already exists.
...
{code}
{quote}

The code handling saving of permissions within the JDBC auth *should* be saving only unique permissions ... but apparently is not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)