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!

CommentFileSizeAuthor
show_admin_only_fields.patch3.98 KBgreggles

Comments

wafaa’s picture

Status: Needs review » Fixed

fixed in 4.7 and HEAD.
thanks for Greggles.

greggles’s picture

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

Regards,
Greg

Anonymous’s picture

Status: Fixed » Closed (fixed)
greggles’s picture

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.

petya_vulcheva’s picture

Version: 4.7.x-1.x-dev » 5.x-1.0
Category: bug » task
Priority: Normal » Critical

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