Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WF-185
Here is an overview of the issue:
---------------------------------------------------------------------
Key: WF-185
Summary: Passing incorrect parameters to HibernatePropertySet
Type: Bug
Status: Assigned
Priority: Major
Project: OSWorkflow
Components:
Core
Versions:
2.5
Assignee: Patrick Lightbody
Reporter: Peter Mayne
Created: Tue, 29 Jul 2003 8:33 PM
Updated: Tue, 29 Jul 2003 8:33 PM
Description:
HibernateWorkflowStore has the following:
public PropertySet getPropertySet(long entryId) {
HashMap args = new HashMap();
args.put("entryName", "OSWorkflowEntry");
args.put("entryId", new Long(entryId));
args.put("session", session);
return PropertySetManager.getInstance("hibernate", args);
}
but HibernatePropertySet contains:
this.entityId = (Long) args.get("entityId");
this.entityName = (String) args.get("entityName");
this.sessionFactory = (SessionFactory) args.get("sessionFactory");
As well as *Id and *Name not matching, HibernatePropertySet is looking for a SessionFactory, but HibernateWorkflowStore is passing a Session. HibernateWorkflowStore should be passing a SessionFactory, rather than HibernatePropertySet being changed to accept a Session.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.opensymphony.com/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.