Uploaded image for project: 'Elements Connect'
  1. Elements Connect
  2. CO-3571

Add debug information in logs when searching on connect fields generates an error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 6.0.1
    • Fix Version/s: 6.0.2
    • Labels:
      None

      Description

      How to reproduce
      Not reproduced yet in development.
      The Customer scenario : On Jira Issues / Search for issues, when I had a Connect field, and I use the search drop down list component for this field

      Actual
      1. An error occurs - viewed by the user and in the log.
      2. The DisplayToJqlConsumer java class does not log the stacktrace but only the following message (extracted from the code)

      catch (Exception e) {
       LOGGER.error("Error while searching for data, the key of your Element Connect field: {} is probably not pointing to an " +
       "evaluated value. If your field is an Element Connect field user check that the key pointing to an user name", this.runtimeContext.getCustomFieldId());
      } finally {

      Expected
      The log file contains the stacktrace for the exception to help debugging some support issue

      ==> Investigate on the error (potentially bug) in addition to have detailed logs.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                christophe.prome@valiantys.com Christophe Promé
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: