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

Resolve elasticsearch date field scripting warning

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 2.6.0-alpha2, 2.6.0
    • None
    • backend
    • None

    Description

      Context:
      Some of our scripts trigger this warning:

      14:35:54.714 [I/O dispatcher 7] WARN  org.elasticsearch.client.RestClient - request [POST http://localhost:9200/optimize-process-instance/process-instance/_search?typed_keys=true&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&search_type=query_then_fetch&batched_reduce_size=512] returned 1 warnings: [299 Elasticsearch-6.2.0-37cdac1 "getDate is no longer necessary on date fields as the value is now a date." "Fri, 02 Aug 2019 12:35:54 GMT"]
      

      AT:

      • refactor the relevant painless scripts and use the `.value` accessor instead of `.date` on date fields

      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