hidden profile fields are not included in the output

greggles - September 9, 2006 - 22:30
Project:Profile CSV
Version:5.x-1.0
Component:Code
Category:task
Priority:critical
Assigned:greggles
Status:closed
Description

Hello.

reproducible: always

Steps to repeat:
1. create a new profile field that has the visibility: "Hidden profile field, only accessible by administrators, modules and themes."
2. include this field in the profile_csv export
3. run the profile_export

expected results:
the "hidden" field is included in the export

actual results:
The hidden field is not included in the export

The attached patch fixes this issue. It makes some slight changes to various arrays to allow for keeping track of the visibility of the field (and therefore knowing where it is stored).

Please let me know if you have any problems with this patch.

Thanks!

AttachmentSize
show_admin_only_fields.patch3.98 KB

#1

wafaa - October 10, 2006 - 03:10
Status:needs review» fixed

fixed in 4.7 and HEAD.
thanks for Greggles.

#2

greggles - October 10, 2006 - 03:15

thanks to you, Wafaa, for the module and for committing these.

Regards,
Greg

#3

Anonymous - October 24, 2006 - 03:30
Status:fixed» closed

#4

greggles - November 3, 2006 - 21:41

Should this patch land on 4.7 then we will need to revert the changes that we made before.

For Drupal5, it's likely this will go in and you will need to revert the patch I made.

#5

petya_vulcheva - June 9, 2008 - 13:41
Version:4.7.x-1.x-dev» 5.x-1.0
Category:bug report» task
Priority:normal» critical

Hi I used the patch but it still doesn't show anything. Have you got any idea why? Thanks

 
 

Drupal is a registered trademark of Dries Buytaert.