jBPM does not allow to use Task Comment longer than 255 characters
Issue
- It has been found that
jBPM5
orjBPM6
does not allow users to set a value for theComment
property, more than a maximum number of255
character. - When users try to set the
Comment
to a value more than255
characters, the runtime engine throws the exception as shown below.
[org.hibernate.util.JDBCExceptionReporter] (Thread-18) SQL Error: 22001, SQLState: 22001
2014-06-05 17:34:07,274 ERROR [org.hibernate.util.JDBCExceptionReporter] (Thread-18) Value too long for column "SHORTTEXT VARCHAR(255)": "'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... (256)"; SQL statement:
insert into I18NText (id, language, shortText, text) values (null, ?, ?, ?) [22001-161]
2014-06-05 17:34:07,275 ERROR [org.jbpm.task.service.TaskServerHandler] (Thread-18) Operation failed
java.lang.RuntimeException: Operation failed
- Is it a known limitation in
BRMS 5.3.x
andBPMS 6.0.x
? - Is there a workaround for both these releases?
Environment
- Red Hat JBoss BRMS (BRMS)
- 5.3.x
- Red Hat JBoss BPM Suite (BPMS)
- 6.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.