cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in HistoricProcessInstanceBaseResource

jplaux
Champ in-the-making
Champ in-the-making
Hi,

I have found a bug in this code. break keyword are missing so there is an exception.

      case GREATER_THAN:
        processInstanceQuery.variableValueGreaterThan(variable.getName(), actualValue);
       
      case GREATER_THAN_OR_EQUALS:
        processInstanceQuery.variableValueGreaterThanOrEqual(variable.getName(), actualValue);
       
      case LESS_THAN:
        processInstanceQuery.variableValueLessThan(variable.getName(), actualValue);
       
      case LESS_THAN_OR_EQUALS:
        processInstanceQuery.variableValueLessThanOrEqual(variable.getName(), actualValue);

      default:
        throw new ActivitiIllegalArgumentException("Unsupported variable query operation: " + variable.getVariableOperation());

Jean-Pascal
2 REPLIES 2

jplaux
Champ in-the-making
Champ in-the-making
no comment

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Jean-Pascal.
I created pull request for your change proposal.
https://github.com/Activiti/Activiti/pull/234

May be it can be part of 5.15
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.