https://bugzilla.wikimedia.org/show_bug.cgi?id=31321
Web browser: ---
Bug #: 31321
Summary: Delimiters with commas & spaces for number-type
properties
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: SemanticForms
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
This bug was previously reported on the talk page for the extension here:
http://www.mediawiki.org/wiki/Extension_talk:Semantic_Forms#Delimiters_with_commas_and_spaces
SF appears to have a stricter approach to delimiters for lists of numeric
values where the property is one of Has type:Number. While in earlier versions
a comma and a space were also accepted as input values, SF now accepts commas
only (so the list would look like "1,2,3,4,5" rather than "1, 2, 3, 4, 5",
unless a different output is specified using #arraymap). Oddly enough this
limitation does not apply to alternative delimiters which may have been chosen
in the template (#arraymap...) and in the form (delimiter=..).
This bug - if it may be called one - is reproduced on referata here:
http://scratchpad.referata.com/wiki/Special:FormEdit/Multiplevalues/Multiplevalues
Just click on "Show Preview". The following error message occurs after trying
to save the page or get a preview: "There were errors with your form input; see
below."
==> [field] "must be a valid number".
See also:
http://scratchpad.referata.com/wiki/Main_Page
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l