CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Export truncates 255 character fields to 64
Pages: [1]

Author Topic: Export truncates 255 character fields to 64  (Read 1531 times)

ThePayIsLousy

  • Guest
Export truncates 255 character fields to 64
August 16, 2010, 07:57:43 pm
I didn't find anything in the Issue Tracker or anywhere else...

I have several custom data fields set up as 255 characters long.  The complete values are displayed when I view/edit a record, but an export truncates the fields to 64 characters in the .CSV.

Is this a bug?  If it's a feature, is it documented anywhere?  If not, I'll document it.

Thanks!

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Export truncates 255 character fields to 64
August 17, 2010, 02:07:24 am
Mike :

We 'll investigate and get back to you on this.

-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Export truncates 255 character fields to 64
August 17, 2010, 06:42:24 am
Mike :
Quote
Is this a bug?  If it's a feature, is it documented anywhere?  If not, I'll document it.

Definitely a bug, filed an issue in JIRA.
You can track the progress here :
http://issues.civicrm.org/jira/browse/CRM-6672

Thanks for catching this!
Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Export truncates 255 character fields to 64
August 17, 2010, 07:42:20 am
Quote
I put a "watch" on the bug report!  I wish I could help fix it, but I don't know PHP...

No worries, we will fix it in the coming release  :)

-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Export truncates 255 character fields to 64
August 20, 2010, 01:36:45 am
This has been fixed and will be available as part of 3.2.2 . Here is the patch :
https://fisheye2.atlassian.com/rdiff/CiviCRM/branches/v3.2/CRM/Export/BAO/Export.php?r1=29205&r2=29288&u&N

HTH
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

ThePayIsLousy

  • Guest
Re: Export truncates 255 character fields to 64
August 20, 2010, 06:10:02 am
Thank you so much, Yashodha -- I was actually going to try to hack a fix myself last night but decided to go to sleep instead (true story)!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Export truncates 255 character fields to 64

This forum was archived on 2017-11-26.