[JBoss JIRA] Created: (JBPM-1182) Implement query to retrieve process instances based on a key without knowing the processdefinition version
by Ronald van Kuijk (JIRA)
Implement query to retrieve process instances based on a key without knowing the processdefinition version
-----------------------------------------------------------------------------------------------------------
Key: JBPM-1182
URL: http://jira.jboss.com/jira/browse/JBPM-1182
Project: JBoss jBPM
Issue Type: Feature Request
Reporter: Ronald van Kuijk
Assigned To: Tom Baeyens
Once a new version of a processdefinition is deployed, we cannot retrieve the processinstance anymore based on the process name without knowing the version. I do not want to store the version or the id of the processdefinition in my business object model.
The hibernate query requires a processdefinition.
This issue is related to the @ResumeProcess in seam which explicitly tries to find the latest definition if just a key is provided. This will fail if a newer version is deployed.
If there is an index and a unique constraint on the businesskey, this is not a problem at all. (ignoring the issues like "I want the licenseplate number to be the business key for damages and it can occur more than once")
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 11 months
[JBoss JIRA] Created: (JBPM-1087) Creating a new process project raises FileNotFoundException
by Len DiMaggio (JIRA)
Creating a new process project raises FileNotFoundException
-----------------------------------------------------------
Key: JBPM-1087
URL: http://jira.jboss.com/jira/browse/JBPM-1087
Project: JBoss jBPM
Issue Type: Bug
Affects Versions: jBPM jPDL 3.2.2
Environment: jbpm-jpdl-suite-3.2.2 (for runtime)
Core and Designer plugin 3.0.13
Eclipse Europa - Version: 3.3.1.1
RHEL5
Sun Java 1.5.0_13
Reporter: Len DiMaggio
Assigned To: Tom Baeyens
Priority: Minor
Creating a new process project raises this exception - there doesn't appear to have a functional impact.
./eclipse
jbpm-jpdl-3.2.2
java.io.FileNotFoundException: /opt/jbpm_Nov/jbpm-jpdl-3.2.2/config/META-INF (Is a directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at org.jbpm.ui.wizard.NewProcessProjectWizard.copyJbpmResource(Unknown Source)
at org.jbpm.ui.wizard.NewProcessProjectWizard.copyJbpmResources(Unknown Source)
at org.jbpm.ui.wizard.NewProcessProjectWizard.createInitialContent(Unknown Source)
at org.jbpm.ui.wizard.NewProcessProjectWizard.createJavaProject(Unknown Source)
at org.jbpm.ui.wizard.NewProcessProjectWizard.performFinish(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 11 months