Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18787

Save user profile button in the UI is disabled when 'artifactory.bintray.ui.hideUploads' is set to true

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.11.0
    • Component/s: Web UI
    • Labels:
      None
    • Severity:
      Medium

      Description

      Steps to reproduce:
      1. set artifactory.bintray.ui.hideUploads to true
      2. go to update user profile page in the UI, unlock it and see that the save button is disabled.

      this issue was reproduced on Artifactory 6.5.9. According to the support ticket attached the problem was found here -

       <button type="button" class="btn btn-primary" ng-disabled="((!UserProfile.userForm.$valid && UserProfile.currentUser.name !== 'admin') || !UserProfile.bintrayForm.$valid || (UserProfile.sshForm &amp;&amp; !UserProfile.sshForm.$valid) || (UserProfile.userInfo.user === undefined || !UserProfile.userInfo.user.profileUpdatable))" ng-click="UserProfile.save()" disabled="disabled">Save</button> 

      when

       UserProfile.bintrayForm.$valid 

      is 'Undefined' which evaluate to false and therefore

       !UserProfile.bintrayForm.$valid 

      is true

        Attachments

          Activity

            People

            Assignee:
            matang Matan Gotlieb
            Reporter:
            inbart Inbar Tal (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-18787 -
                SYNCHRONIZED
                • Last Sync Date: