Uploaded image for project: 'Explorer'
  1. Explorer
  2. EXPLORER-167

An error occured while giving rights to a user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • 2.2.3, 2.3
    • None
    • Workspace explorer
    • None
    • demo.ametys.org/explorer
      version 3.2.0

      2011-10-20 17:58:08,717 ERROR [org.ametys.runtime.plugins.core.right.hierarchicalprofil] Error in sql query
      java.sql.SQLException: Incorrect integer value: 'profile-3' for column 'Profile_Id' at row 1
      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
      at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
      at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
      at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
      at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
      at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2542)
      at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1734)
      at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2019)
      at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1937)
      at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1922)
      at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
      at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
      at org.ametys.runtime.plugins.core.right.profile.DefaultProfileBasedRightsManager.addUserRight(DefaultProfileBasedRightsManager.java:1051)
      at org.ametys.runtime.plugins.core.right.ui.actions.AssignAction._addProfiles(AssignAction.java:107)
      at org.ametys.runtime.plugins.core.right.ui.actions.AssignAction.act(AssignAction.java:77)

            Unassigned Unassigned
            cedric Cédric Damioli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: