? Pending
Pull Request for # 9129

User tests: Successful: Unsuccessful:

avatar bertmert
bertmert
23 Feb 2016

Pull Request for Issue #9129.

Testing Instructions

Enable the user - profile plugin.
Within the plugin, under "User profile fields for registration and administrator user forms" select optional for the "Favorite Book" field.
under "User profile fields for profile edit form", select "disable" for the "Favorite Book" field.
Create a user in the administrator panel and fill in the "Favorite Book" field.
Go to the front-end, select "edit your profile" and hit submit.

Before patch:
If you go to the administrator panel the "Favorite Book" field will be empty.

After patch:
If you go to the administrator panel the "Favorite Book" field will NOT be empty.

Please test this PR in-depth with other fields and setting scenarios, too!

Lines 266 to 274 are not related to the issue.

Votes

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

avatar bertmert bertmert - open - 23 Feb 2016
avatar bertmert bertmert - change - 23 Feb 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Feb 2016
The description was changed
Labels Added: ?
avatar brianteeman brianteeman - change - 23 Feb 2016
Rel_Number 0 9129
Relation Type Pull Request for
avatar RonakParmar RonakParmar - test_item - 23 Feb 2016 - Tested successfully
avatar RonakParmar
RonakParmar - comment - 23 Feb 2016

I have tested this item :white_check_mark: successfully on 6ca6cca

I have tested this PR for "Favourite Book:" field for now and works fine for me.


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

avatar joomla-cms-bot
joomla-cms-bot - comment - 23 Feb 2016

This PR has received new commits.

CC: @RonakParmar


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

avatar bertmert
bertmert - comment - 23 Feb 2016

I have tested this PR for "Favourite Book:" field for now and works fine for me.

I personally wouldn't accept this test as successful ;-)

Please test more detailled with other fields, too (textarea, calendar). I hadn't the time yet.

avatar RonakParmar
RonakParmar - comment - 23 Feb 2016

@bertmert No worries, I'll test for all the fields and let you know the status :+1:

avatar brianteeman brianteeman - change - 23 Feb 2016
Category Plugins
avatar wilsonge
wilsonge - comment - 23 Feb 2016

As this just makes the fields hidden, doesn't that mean that by editing the fields in dev tools you can edit them despite not having the permissions?

avatar brianteeman brianteeman - test_item - 23 Feb 2016 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 23 Feb 2016

I have tested this item :red_circle: unsuccessfully on befc16e

@wilsonge is correct hiding the field doesnt stop me from editing it


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

avatar brianteeman
brianteeman - comment - 23 Feb 2016

... and if you were using the field for confidential information you didnt want the user to see then its definitely a no no


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

avatar bertmert
bertmert - comment - 24 Feb 2016

So, reopen the issue. Will close this one.

My personal view is that profile data fields like this aren't the correct place for confidential datas at all. Use user notes instead! Or connect users with com_contact!

On the other hand these are datas that are shown and filled by users during registration. That's why they're called "My Profile" datas.

The only way to prevent them from deleting is to show them users or hide them or to "cache" them in plugin for later saving before the form fields are removed. Or add an additional database query in onUserAfterSave().

avatar bertmert bertmert - change - 24 Feb 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-02-24 00:46:49
Closed_By bertmert
avatar bertmert bertmert - close - 24 Feb 2016
avatar bertmert bertmert - close - 24 Feb 2016
avatar brianteeman
brianteeman - comment - 24 Feb 2016

ITs not just about being able to see the contents of a hidden field but that you can change it as well. Thanks for trying though - I have reopened the original Issue report


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

avatar brianteeman
brianteeman - comment - 24 Feb 2016

ITs not just about being able to see the contents of a hidden field but that you can change it as well. Thanks for trying though - I have reopened the original Issue report


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

Add a Comment

Login with GitHub to post a comment