Closed (fixed)
Project:
Automatic Nodetitles
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
9 Oct 2010 at 23:51 UTC
Updated:
3 Apr 2018 at 21:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
fagosounds good, could we add a comment to add it explaining why we need to do that?
Comment #2
fagoI just added that in and committed it to all d5, d6 + added it into d7. thanks.
Comment #4
denes.szabo commentedSorry to open it, but I realized, the substr is not a solution for utf8 strings. I attached a patch, it uses truncate_utf8() to truncate the title to 255 character not substr().
Patch is for 7.x-1.x version.
Comment #5
denes.szabo commentedPatch for 6.x-1.x.
Comment #6
hdcoder commentedneed change:
to
is good work.
Comment #7
hefox commenteddrupal_substr?
Comment #8
andyceo commentedPlease, use drupal_substr().
It was very hard to find a reason of PDO exception which was caused by this bug.
Comment #9
andypostThis could cause a data-loss in titles so major
Comment #10
maximpodorov commentedAnnoying bug. Please commit the simple patches.
Comment #11
maximpodorov commentedComment #12
anmolgoyal74 commented"truncate_title_utf8_aware-937086-4.patch" applies successfully.
And truncate_utf8() is better solution
Comment #14
gaurav.kapoor commented