Bug 1057195
| Summary: | CR1 updated to mortgage-demo (example app) jboss-mortgage-client.jar fails | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Eric D. Schabell <eschabel> | ||||
| Component: | Business Central | Assignee: | Kris Verlaenen <kverlaen> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Marek Baluch <mbaluch> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.0.0 | CC: | eschabel, kverlaen, lpetrovi, mrietvel | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Mac OS | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-01-23 19:45:17 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Eric D. Schabell
2014-01-23 15:46:22 UTC
Did you have the security policy enabled? If so, could you disable it and try again? Setup my demo, it is all turned off by default. Maciej and I figured out that the problem is being caused by the following lines in the support/1000_jbpm_demo_h2.sql import script (https://github.com/eschabell/bpms-mortgage-demo/blob/v0.5/support/1000_jbpm_demo_h2.sql): insert into bamtasksummary(pk,taskid,taskname,createddate,startdate,userid,processinstanceid,enddate,duration,status) values (2, 1000, 'Task 1', PARSEDATETIME('16/12/2012 20:34', 'd/MM/yyyy HH:mm', 'en', 'GMT'), PARSEDATETIME('09/01/2013 00:25', 'd/MM/yyyy HH:mm', 'en', 'GMT'), 'Frank T.', 100, null, null, 'Claim'); These lines should also specify a "version" value. Because no version column value is specified, the column contains a null value which hibernate does not expect. The fix for this is to modify those lines so that they insert a valid value ("1" for example) for the "version" field. To be clear, this fix would be for the SQL script -- this bug is NOT caused by anything on the BPMS side. For that reason, I'm closing this as NOTABUG. I'll be submitting pull requests to eric's demo and to the original github repo to fix the problem. |