[
https://jira.jboss.org/jira/browse/JBPM-2078?page=com.atlassian.jira.plug...
]
Alejandro Guizar commented on JBPM-2078:
----------------------------------------
After inserting the following sample data, I can log in normally (JBoss 4.2.3, PostgreSQL
8.3.6).
INSERT INTO JBPM_ID_USER
VALUES(1,'U','user','user(a)sample.domain','user');
INSERT INTO JBPM_ID_USER
VALUES(2,'U','manager','manager(a)sample.domain','manager');
INSERT INTO JBPM_ID_USER
VALUES(3,'U','admin','admin(a)sample.domain','admin');
INSERT INTO JBPM_ID_USER
VALUES(4,'U','shipper','shipper(a)sample.domain','shipper');
INSERT INTO JBPM_ID_GROUP
VALUES(1,'G','sales','organisation',NULL);
INSERT INTO JBPM_ID_GROUP
VALUES(2,'G','admin','security-role',NULL);
INSERT INTO JBPM_ID_GROUP VALUES(3,'G','hr','organisation',NULL);
INSERT INTO JBPM_ID_GROUP
VALUES(4,'G','user','security-role',NULL);
INSERT INTO JBPM_ID_GROUP
VALUES(5,'G','manager','security-role',NULL);
INSERT INTO JBPM_ID_MEMBERSHIP VALUES(1,'M',NULL,NULL,2,4);
INSERT INTO JBPM_ID_MEMBERSHIP VALUES(2,'M',NULL,NULL,3,4);
INSERT INTO JBPM_ID_MEMBERSHIP VALUES(3,'M',NULL,NULL,1,4);
INSERT INTO JBPM_ID_MEMBERSHIP VALUES(4,'M',NULL,NULL,4,4);
INSERT INTO JBPM_ID_MEMBERSHIP VALUES(5,'M',NULL,NULL,4,3);
INSERT INTO JBPM_ID_MEMBERSHIP VALUES(6,'M',NULL,NULL,2,3);
INSERT INTO JBPM_ID_MEMBERSHIP VALUES(7,'M',NULL,NULL,3,3);
INSERT INTO JBPM_ID_MEMBERSHIP VALUES(8,'M',NULL,NULL,3,2);
INSERT INTO JBPM_ID_MEMBERSHIP VALUES(9,'M',NULL,NULL,2,2);
INSERT INTO JBPM_ID_MEMBERSHIP VALUES(10,'M',NULL,NULL,2,5);
INSERT INTO JBPM_ID_MEMBERSHIP VALUES(11,'M',NULL,'boss',2,1);
INSERT INTO JBPM_ID_MEMBERSHIP VALUES(12,'M',NULL,NULL,1,1);
JSF Console doesn't deploy
--------------------------
Key: JBPM-2078
URL:
https://jira.jboss.org/jira/browse/JBPM-2078
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Heiko Braun
Assignee: Heiko Braun
Priority: Blocker
Fix For: jBPM 3.2.6 GA
Caused by: org.hibernate.PropertyNotFoundException: field [id] not found on
org.jbpm.identity.User
at
org.hibernate.property.DirectPropertyAccessor.getField(DirectPropertyAccessor.java:122)
at
org.hibernate.property.DirectPropertyAccessor.getField(DirectPropertyAccessor.java:114)
at
org.hibernate.property.DirectPropertyAccessor.getGetter(DirectPropertyAccessor.java:137)
at org.hibernate.util.ReflectHelper.getter(ReflectHelper.java:83)
at org.hibernate.util.ReflectHelper.reflectedPropertyClass(ReflectHelper.java:71)
at org.hibernate.mapping.SimpleValue.setTypeUsingReflection(SimpleValue.java:276)
at org.hibernate.cfg.HbmBinder.bindSimpleId(HbmBinder.java:401)
at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:334)
at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:273)
at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:144)
at org.hibernate.cfg.Configuration.add(Configuration.java:669)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:504)
at org.hibernate.cfg.Configuration.addResource(Configuration.java:566)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira