NOTE: Make all tests in advanced theme.
- in IDE:
- open /themes/advanced/platform/my_account/my_profile.tpl template for editing
- locate <input type="hidden" ... name="events[u][OnUpdate]"/> hidden field
- replace OnUpdate with OnUpdateAjax in that hidden field
- in Admin Console:
- go to User Management → Users section
- create new user with Active status
- on Front-End
- login using above created user
- go to profile editing page on /platform/my_account/my_profile.html url
- fill all form fields, but E-mail field
- press Update button
- confirm, that page after reload displays correct JSON data - {"status": "FAILED","uploader_info": {"PrimaryImage": {"urls": "","names": "","sizes": ""}},"field_errors": {"Email": "Field is required"}}
- go to profile editing page (url /platform/my_account/my_profile.html) again
- open browser development tools and clear session cookie
- press Update button
- confirm, that redirect to user registration happens