Details
-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
7.2.0, 7.1.9
-
7.01
-
6
-
Severity 2 - Major
-
1
-
-
Description
Summary
Transitioning an issue will fail if the username of the user transitioning is longer than 60 chars.
Steps to Reproduce
- Create a user whos username is greater than 60 characters
- Try to transition any issue within a project
Expected Results
The issue should be transitioned successfully
Actual Results
The following error message is displayed in a modal window
Error marking step #10023 finished: root cause: while updating: [GenericEntity:OSCurrentStep][owner,][caller,thisusernameisquitelongandwillbreakworkflowtransitionshowcoolisthathey][dueDate,null][stepId,11][actionId,21][finishDate,2016-09-22 11:37:07.296][id,10023][startDate,2016-09-22 11:16:30.707][entryId,10023][status,Not Done] (SQL Exception while executing the following:UPDATE public.OS_CURRENTSTEP SET ENTRY_ID=?, STEP_ID=?, ACTION_ID=?, OWNER=?, START_DATE=?, DUE_DATE=?, FINISH_DATE=?, STATUS=?, CALLER=? WHERE ID=? (ERROR: value too long for type character varying(60))) It seems that you have tried to perform an illegal workflow operation. If you think this message is wrong, please contact your JIRA administrators.
Along with a message in the logs along the lines of
2016-08-31 11:23:48,405 http-nio-8080-exec-6 jiraadministrator@atlassianjiraadministrator.com 683x77831x1 admin /secure/WorkflowUIDispatcher.jspa 2ms "UPDATE public.OS_CURRENTSTEP SET ENTRY_ID='24816', STEP_ID='1', ACTION_ID='21', OWNER='', START_DATE='2016-08-31 11:17:56.962', DUE_DATE='null', FINISH_DATE='2016-08-31 11:23:48.402', STATUS='Not Done', CALLER='jiraadministrator@atlassianjiraadministrator.com' make him the scrum master for double 07 'jirasystemadministrator@admin.com' WHERE ID='31979'" org.postgresql.util.PSQLException: ERROR: value too long for type character varying(60)
Workaround
Manually change the column size to varchar(255) on the database or rename the affected user.
Attachments
Issue Links
- duplicates
-
JRASERVER-42614 Transitioning issues (adding watchers) fails if the username is longer than 60 characters
- Gathering Impact