[
https://issues.apache.org/jira/browse/AIRAVATA-3678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Christie updated AIRAVATA-3678:
--------------------------------------
Description:
{code}
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:)
{code}
h3. 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
h3. Actual Result
Save fails. Might see an error like *this.$refs.extendedUserProfileEditor is
undefined* or *Cannot read properties of undefined (reading 'valid'):*
h3. Expected Result
Save should process successfully even when there are no extended user profile
fields.
was:
{code}
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:)
{code}
### 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.
> Saving user profile changes fails when there are no extended user profile
> fields
> --------------------------------------------------------------------------------
>
> Key: AIRAVATA-3678
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3678
> Project: Airavata
> Issue Type: Sub-task
> Components: Django Portal
> Reporter: Marcus Christie
> Assignee: Marcus Christie
> Priority: Major
>
> {code}
> 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:)
> {code}
> h3. 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
> h3. Actual Result
> Save fails. Might see an error like *this.$refs.extendedUserProfileEditor is
> undefined* or *Cannot read properties of undefined (reading 'valid'):*
> h3. Expected Result
> Save should process successfully even when there are no extended user profile
> fields.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)