Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-1581

[DMN Designer] Autocomplete add unexpected white characters when finished

    XMLWordPrintable

Details

    • Hide
      1. Open a DMN grid - espression
      2. Start edit some literal expression cell, ideally with some text inside
      3. By arrow keys navigate into the middle of the text
      4. Press 'TAB'

      Current result: white characters were added into middle of the text
      Expected result: text remains unchanged

      Show
      Open a DMN grid - espression Start edit some literal expression cell, ideally with some text inside By arrow keys navigate into the middle of the text Press 'TAB' Current result: white characters were added into middle of the text Expected result: text remains unchanged

    Description

      The issue is when user type value into literal expression cells. User can confirm / finish his operation by pressing 'TAB'. In such case unexpected white characters will be added into the stored cell value.

      Reproducer test

      https://github.com/kiegroup/kie-wb-common/pull/3228

      The currently will fail because of the part /dmn:text[text()='3']. If that part is updated to /dmn:text[text()='3 '] the test pass. This shows three white characters are unexpectedly stored.

      Attachments

        Activity

          People

            karreiro_ Guilherme Gomes
            jomarko@redhat.com Jozef Marko
            Jozef Marko Jozef Marko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: