jBPM does not allow to use Task Comment longer than 255 characters
Issue
- It has been found that
jBPM5orjBPM6does not allow users to set a value for theCommentproperty, more than a maximum number of255character. - When users try to set the
Commentto a value more than255characters, 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.xandBPMS 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
