Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-9747

Cannot select variable value in historic variable log modal

    XMLWordPrintable

Details

    Description

      Reproduce:

      • Use Firefox
      • Goto Cockpit
      • Open the Variables tab in the history view of a process instance that has a variable of type Object
      • For the Object variable, click on the "Show Variable Log" button and select any entry in the variable update log
      • You should see a modal with the serialized value of the variable at that moment in time
      • Try to select the serialized variable value with your mouse

      Expected:

      • Selection of the variable value is possible

      Observed:

      • Selection is not possible
      • Cursor shows that this action is forbidden

      Hint:

      If you click on the "Last Value" of the variable without going through the variable log, you can select and copy the value just fine.

      There are two different modals responsible for displaying the data. For the variable instance log dialog, we use a disabled attribute, which prevents user interaction with the textarea. For the variable inspect dialog, we use readonly, which allows selection of the text, as described in MDN. We should also use the readonly attribute for the variable instance log dialog

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              michael.schoettes Michael Schoettes
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce