This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Suggestions » toString() prefixes items with space

toString() prefixes items with space

toString() prefixes items with space

Saturday 04 October 2008 1:45:08 pm


ezkeyword attribute->toString() prefixes comma separated list items with space. This does not match description in the doc:

coma separated list of keywords

and is generally undesirable and confusing, because this list is usually used programmatically, typically converted to item array with explode() and having spaces necessitates trimming these spaces before values can be used.

Probably the same applies to toString format of some other datatypes, I haven't checked others.

No reply yet!


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from