Export Subscribers Custom Field Bug

  • David Smith
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 9 months ago #48017 by David Smith
Export Subscribers Custom Field Bug was created by David Smith
Following the most recent update to the Membership Pro Extension I now get a bug when exporting subscribers related to the custom fields. The custom field that causes the bug is a "check all that apply" type of custom field. I am able to export the subscribers but the csv does not have the correct format. The issue seems to be that the the commas that separate the checkbox items is read as a separator and not part of the text. This doesn't occur with other non-custom fields with commas. Below is an example of the format of the custom field in the csv.

,"["Checkbox item A","Checkbox item B"]",

The correct csv format is

,"Checkbox item A,Checkbox item B",

Please Log in or Create an account to join the conversation.

More
9 years 9 months ago #48033 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Export Subscribers Custom Field Bug
Hi David

Could you please get this file, unzip it, then upload the file to administrator/components/com_osmembership/controllers folder and check it again ?

Regards,

Tuan
Attachments:

Please Log in or Create an account to join the conversation.

  • David Smith
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 9 months ago - 9 years 9 months ago #48068 by David Smith
Replied by David Smith on topic Export Subscribers Custom Field Bug
Thank you for the quick response. I was able to download the file that you sent and upload it to the correct directory. The bug has been fixed if there is more than one checkbox item but there is still an issue if there is one or none checkbox items checked. Here is what the csv looks like.

One than one (correct):
,"Checkbox item A,Checkbox item B",

One (bug):
,""Checkbox item A"",

Zero (bug)
,"""",
Last edit: 9 years 9 months ago by David Smith.

Please Log in or Create an account to join the conversation.

  • David Smith
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 9 months ago #48149 by David Smith
Replied by David Smith on topic Export Subscribers Custom Field Bug
Also after uploading the file that you sent I now get the first user in terms of ID's information in other subscribers profile when I click on the subscriber.

Please Log in or Create an account to join the conversation.