Revision 1aa6b6d7927afe7022c690667f7c2745a4c5e94c
Committed on 13/08/2012 6:25 am by
Jarosław Heba <jh@ez.no> [GitHub Diff]
Fixed #019566: All characters after pipe ('|') disappear in custom tag fields
The problem is that pipe character is used as a separator for pairs
ATTRNAME|ATTRVALUE.
If the ATTRVALUE string contains pipe character, eZOE explodes/splits
the whole string using '|' as a separator. It results in multi element
array instead of expected two element array. Further, eZOE uses only the
first two elements of the array, which results in loosing data of the
original value of ATTRVALUE.
My fix makes sure that the pair ATTRNAME|ATTRVALUE is properly handled.