-
Bug
-
Resolution: Fixed
-
Low
-
2.0.2, 2.3.2
Environment:
JIRA 6.2.7
Service desk 2.0.2
MS SQL Server 2008 R2/2012 with the database collation type = SQL_Latin1_General_CP1_CI_AS or SQL_Latin1_General_CP437_CI_AI
When trying to add an existent user as an agent, JIRA throws the following error:
Error There was a SQL exception thrown by the Active Objects library: Database: - name:Microsoft SQL Server - version:10.50.2500 - minor version:50 - major version:10 Driver: - name:jTDS Type 4 JDBC Driver for MS SQL Server and Sybase - version:1.2.4 java.sql.SQLException: Incorrect syntax near '-'. Please contact the system administrator.
Although if the page is refreshed the user was successfully added as an agent.
Tested this on PostgreSQL and that does not occurs.
Workaround:
- Refer the correct database collation type in our Connecting JIRA to SQL Server 2008 documentation.
- Change to other external database.
- is duplicated by
-
JSDSERVER-972 SQL Exception thrown during "Make user an agent"
-
- Closed
-
- mentioned in
- was cloned as
-
DESK-4061 Failed to load
[JSDSERVER-933] java.sql.SQLException: Incorrect syntax near '-'. When adding an existent user as agent.
Remote Link | Original: This issue links to "Page (Atlassian Documentation)" [ 128757 ] |
Workflow | Original: JSD Bug Workflow v5 - TEMP [ 2304707 ] | New: JAC Bug Workflow v3 [ 3125088 ] |
Status | Original: Done [ 10044 ] | New: Closed [ 6 ] |
Workflow | Original: JSD Bug Workflow v5 [ 2058632 ] | New: JSD Bug Workflow v5 - TEMP [ 2304707 ] |
Workflow | Original: JSD Bug Workflow v5 - TEMP [ 2056298 ] | New: JSD Bug Workflow v5 [ 2058632 ] |
Workflow | Original: JSD Bug Workflow v5 [ 1955811 ] | New: JSD Bug Workflow v5 - TEMP [ 2056298 ] |
Workflow | Original: JSD Bug Workflow v4 [ 1615795 ] | New: JSD Bug Workflow v5 [ 1955811 ] |
Labels | New: affects-server |
Workflow | Original: JSD Bug Workflow v2 [ 1602965 ] | New: JSD Bug Workflow v4 [ 1615795 ] |
Component/s | New: Atlassian Account [ 35992 ] | |
Component/s | Original: User Management [ 32692 ] |
Workflow | Original: JSD Bug Workflow [ 1398852 ] | New: JSD Bug Workflow v2 [ 1602965 ] |