Page MenuHomePhabricator

"tokens" input type not working correctly when "delimiter" value is set to ","
Closed, ResolvedPublic

Description

(From https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/591)

I'm using semantic 2.0 with semantic forms input 0.9
http://fablabo.net/wiki/Sp%C3%A9cial:Version
my form use list field input with "," delimiter

http://fablabo.net/wiki/Formulaire:Projet
if I edit a page with this form :
http://fablabo.net/mediawiki/index.php?title=ProjetFou&action=formedit
both fields marked as list displays each letter as separated element

ex :
"wood","paper"

become :
"w"+"o"+"o"+"d"+","+"p"+"a"+"p"+"e"+"r"

even I use
delimiter=,
or
delimiter=","

I fixed it by removing the "delimiter=," (let the default value)


Version: unspecified
Severity: normal

Details

Reference
bz73144

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:57 AM
bzimport set Reference to bz73144.

Improved title again, now that I've been able to reproduce the problem.

Change 173989 had a related patch set uploaded by Jatin:
"tokens" input type not working correctly when "delimiter" value is set

https://gerrit.wikimedia.org/r/173989

Change 173989 merged by Yaron Koren:
"tokens" input type not working correctly when "delimiter" value is set

https://gerrit.wikimedia.org/r/173989

Modified title again, and marked as "fixed".