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

Unable to edit an issue with a connect User Picker containing an inactive user

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Dev Analysis
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.4.0
    • Fix Version/s: None
    • Labels:
    • Functional components:
      Custom field - User

      Description

      How to reproduce

      • Create a User connect field, as follows:
        • Select the native datasource "Jira database (SQL)"
        • Write the following query:
          SELECT USER_NAME FROM CWD_USER
          
        • Choose the "Select list" editor
      • Add this connect field to a project
      • Edit an issue of this project and select any user (not you) in the previously created connect field
      • Go to the "User Management" page and disable the previously selected user
      • Go back to the previously edited issue
      • Edit the issue without changing the user selected in the Connect field

      Current result
      It is not possible to edit the issue because the Connect field does not accept an inactive user. This is the error message: User 'username' is not valid for this user picker.

      here's a video that shows the problem: Bug.webm

      Expected result
      It should be possible to edit the issue and keep the selected user in the User connect field, even if he is disabled.

      Current behavior of a Jira User Picker
      There is a difference in behavior between a User Picker created in Jira and a user picker created in Elements Connect.
      For a User Picker created from Jira, it is not possible to select an inactive user. However, users which were selected before being deactivated are kept and don't prevent the issue edition.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            simon.laffont@elements-apps.com Simon Laffont
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: