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

I cannot add demo xml >32kb

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 1.0.0, 1.0.0-alpha2
    • None
    • None
    • None

    Description

      Reproduce:

      • add a bpmn file >32kb in the client/demo-data directory
      • in the client directory, run yarn run start-backend

      Expected:

      • demo data is added to elastic search without error
      • I can get the bpmn xml via the rest api

      Observed:

      • following error occurs:
        [DEBUG][o.e.a.b.TransportShardBulkAction] [Ewt9jbH] [optimize][3] failed to execute bulk item (index) index {[optimize][process-definition-xml][c21206dc-150f-4e6d-8e28-fa0f0d2c90c8], source[{"id":"c21206dc-150f-4e6d-8e28-fa0f0d2c90c8","bpmn20Xml":"..."}]
        
        java.lang.IllegalArgumentException: Document contains at least one immense term in field="bpmn20Xml" (whose UTF8 encoding is longer than the max length 32766), all of which were skipped.  Please correct the analyzer to not produce such terms.  The prefix of the first immense term is: '[60, 98, 112, 109, 110, 58, 100, 101, 102, 105, 110, 105, 116, 105, 111, 110, 115, 32, 120, 109, 108, 110, 115, 58, 120, 115, 105, 61, 34, 104]...', original message: bytes can be at most 32766 in length; got 45353
        
      • trying to access the process definition returns 204 No Content
      • the list of process definitions still contains the key of the definition

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce