Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-3562 Extended User Profile
  3. AIRAVATA-3678

Saving user profile changes fails when there are no extended user profile fields

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Django Portal
    • None
    • Easy

    Description

      Frontend error: Cannot read properties of undefined (reading 'valid'): "\"v-on handler (Promise/async)\"" stacktrace: onSave (webpack:///static/django_airavata_auth/js/containers/UserProfileContainer.vue:101:)
      

      Steps to reproduce

      1. Setup a gateway without any extended user profile fields
      2. Go to User Settings
      3. Save the User Profile by clicking Save

      Actual Result

      Save fails. Might see an error like this.$refs.extendedUserProfileEditor is undefined or Cannot read properties of undefined (reading 'valid'):

      Expected Result

      Save should process successfully even when there are no extended user profile fields.

      Attachments

        Activity

          People

            marcuschristie Marcus Christie
            marcuschristie Marcus Christie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: