Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2619

Resolve user and tenant creating errors in data-generator

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 2.7.0
    • None
    • backend
    • None

    Description

      Context:
      During data-generation we create tenant authorizations for users, these calls cause errors in the engine log

      29-Aug-2019 14:19:18.898 WARNING [http-nio-8080-exec-7] org.camunda.bpm.engine.rest.exception.ProcessEngineExceptionHandler.toResponse org.camunda.bpm.engine.ProcessEngineException: ENGINE-03028 Illegal value 'user' for userId for GLOBAL authorization. Must be '*'
      	at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.illegalValueForUserIdException(EnginePersistenceLogger.java:313)
      

      &

      29-Aug-2019 14:28:41.002 SEVERE [http-nio-8080-exec-16] org.camunda.commons.logging.BaseLogger.logError ENGINE-16004 Exception while closing command context: ENGINE-03083 Exception while executing Batch Database Operations with message '
      
      ### Error flushing statements.  Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.TenantEntity.insertTenant (batch index #1) failed. Cause: org.h2.jdbc.JdbcBatchUpdateException: Unique index or primary key violation: "PRIMARY_KEY_29 ON PUBLIC.ACT_ID_TENANT(ID_) VALUES ('sales', 4)"; SQL statement:
      insert into ACT_ID_TENANT (ID_, NAME_, REV_)
      

      AT:

      • these kind of errors don't occur when users are authorized to tenants by the data-generator

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce