AnsweredAssumed Answered

Bug in HistoricProcessInstanceBaseResource

Question asked by jplaux on Mar 17, 2014
Latest reply on Mar 18, 2014 by martin.grofcik
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

Outcomes