I've run into an interesting situation and wondered if anyone has some insight that might help.
Using 5.0.c on MySQL, I've got a very basic custom module with 3 fields on it: TextField, TextArea and a MultiSelect.
It appears as though there is a bug in the Save function for Sugar that causes the selected values of the MultiSelect field to be be truncated at 100 chars. Thus if I select 10 values that are 11 characters in length, it doesn't save all of them. The problem is further complicated by the fact that a delimiter is added to the values before they are committed to the database, further reducing the number of values one can select.
I was checking out SugarBean.php to see if I could spot something obvious in the Save() function that would cause it to truncate, but I don't see anything yet.
Anyone have some insight that might help?


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks