Bug 1284004 - Mysql57: Creating Process Instances filter with PROCESSID as a parameter results a modal dialog error
Mysql57: Creating Process Instances filter with PROCESSID as a parameter resu...
Product: JBoss BPMS Platform 6
Classification: JBoss
Component: Business Central (Show other bugs)
x86_64 Linux
urgent Severity high
: CR2
: 6.2.0
Assigned To: Neus Miras
Lukáš Petrovický
Depends On:
  Show dependency treegraph
Reported: 2015-11-20 09:09 EST by Pavel Kralik
Modified: 2018-03-31 18:14 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Modal error in PI (48.99 KB, image/png)
2015-11-20 09:09 EST, Pavel Kralik
no flags Details
Server log (594.16 KB, text/plain)
2015-11-20 09:16 EST, Pavel Kralik
no flags Details

  None (edit)
Description Pavel Kralik 2015-11-20 09:09:09 EST
Created attachment 1097211 [details]
Modal error in PI

Description of problem:
Creating Filter with PROCESSID equals_to $PROCESSID results in Modal Error in BC and SQL error in server log

Version-Release number of selected component (if applicable):
BPMS 6.2.0.CR1

How reproducible:

Steps to Reproduce:
1. Go to process instances and create filter with PROCESSID equals_to $PROCESSID

Actual results:
Modal dialog error

Expected results:
Filter is created

Additional info:
23:29:50,316 ERROR [org.dashbuilder.dataprovider.backend.sql.JDBCUtils] (http-localhost/ SELECT COUNT(*) FROM (SELECT * FROM (select pil.processInstanceId pid,
       pil.processId pname,
       v.id varid,
       v.variableId varname,
       v.value varvalue
from ProcessInstancelog pil
  inner join (select vil.processInstanceId ,vil.variableId, MAX(vil.ID) maxvilid  FROM VariableInstanceLog vil
  GROUP BY vil.processInstanceId, vil.variableId)  x
    on (x.processInstanceId =pil.processInstanceId)
  INNER JOIN VariableInstanceLog v
    ON (v.variableId = x.variableId  AND v.id = x.maxvilid )) AS `dbSQL`) AS `dbSQL`
23:29:50,316 ERROR [org.dashbuilder.dataset.backend.exception.ExceptionManager] (http-localhost/ Can't get metadata on specified data set: jbpmProcessInstancesWithVariables: org.dashbuilder.dataset.exception.DataSetLookupException: Can't get metadata on specified data set: jbpmProcessInstancesWithVariables
Comment 2 Pavel Kralik 2015-11-20 09:16 EST
Created attachment 1097215 [details]
Server log
Comment 3 Neus Miras 2015-11-24 17:39:27 EST
the query has been changed considering the case sensitive treatment of the table names.
The commits:

Comment 5 Pavel Kralik 2015-12-02 12:42:22 EST
BPMS 6.2.0.CR2

Note You need to log in before you can comment on or make changes to this bug.