? Success

User tests: Successful: Unsuccessful:

avatar csthomas
csthomas
24 Jun 2016

Summary of Changes

[front-end] On save user profile, read requested data from session after form validation failed.

Testing Instructions

I believe that code review should be enough.
Please compare to https://github.com/joomla/joomla-cms/blob/staging/components/com_users/controllers/registration.php

Otherwise
Front-end:
[before and after patch]
Go to user profile view, next to edit form and try to save some changes.
For valid changes/data there won't be any difference.

After patch for saving invalid data there will be difference,
because invalid/request data will be load from session
and the user won't need to re-change valid fields again.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar csthomas csthomas - open - 24 Jun 2016
avatar csthomas csthomas - change - 24 Jun 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Jun 2016
Labels Added: ?
avatar hardiktasol hardiktasol - test_item - 24 Jun 2016 - Tested successfully
avatar hardiktasol
hardiktasol - comment - 24 Jun 2016

I have tested this item successfully on 5e2bacd

I have tested this patch on Joomla 3.6.0 and patch works perfectly. Data is now storing in sessions and after error it repopulates in the fields.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10920.

avatar gunjanpatel gunjanpatel - test_item - 24 Jun 2016 - Tested successfully
avatar gunjanpatel
gunjanpatel - comment - 24 Jun 2016

I have tested this item successfully on 5e2bacd

It works normally as it should. Only changes in code style - variable name.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10920.

avatar gunjanpatel gunjanpatel - change - 24 Jun 2016
Status Pending Ready to Commit
avatar gunjanpatel
gunjanpatel - comment - 24 Jun 2016

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10920.

avatar joomla-cms-bot joomla-cms-bot - change - 24 Jun 2016
Labels Added: ?
avatar gunjanpatel gunjanpatel - change - 24 Jun 2016
Category Code style Front End
avatar roland-d roland-d - change - 16 Jul 2016
Milestone Added:
avatar wilsonge
wilsonge - comment - 21 Jul 2016

Before this can be merged you need to ensure that passwords are removed from this form. We do not want any passwords being saved into the user session

avatar wilsonge wilsonge - change - 21 Jul 2016
Status Ready to Commit Pending
Labels
avatar wilsonge
wilsonge - comment - 21 Jul 2016

Removing RTC so we can get this change


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10920.

avatar joomla-cms-bot joomla-cms-bot - change - 21 Jul 2016
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 21 Jul 2016
Category Code style Front End Front End Components Code style
avatar wilsonge wilsonge - change - 25 Jul 2016
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-07-25 09:12:50
Closed_By wilsonge
avatar wilsonge wilsonge - close - 25 Jul 2016
avatar wilsonge wilsonge - merge - 25 Jul 2016
avatar wilsonge
wilsonge - comment - 25 Jul 2016

Thankyou very much! Merged :)

Add a Comment

Login with GitHub to post a comment