Nikki created this task. Nikki added a project: SDC General. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION When adding a statement which uses a string or monolingual text property, disallowed whitespace (leading or trailing whitespace, tabs or new line characters) is not trimmed from the value before saving, which causes the save to fail and a confusing error to be shown. To reproduce: - Go to the structured data tab of a file - Click "Add statement" and select a string or monolingual text property - Enter a value which contains disallowed whitespace, e.g. "test " - Click "Add" then "Publish changes" Expected result: The statement is added with the value "test", i.e. with the trailing whitespace removed. Actual result: Saving fails and the error "Malformed input: test" is shown. TASK DETAIL https://phabricator.wikimedia.org/T300545 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Nikki Cc: Nikki, Aklapper, GFontenelle_WMF, FRomeo_WMF, CBogen, Nintendofan885, JKSTNK, Lahi, E1presidente, Ramsey-WMF, Cparle, Anoop, SandraF_WMF, Tramullas, Acer, Salgo60, Silverfish, Susannaanas, Jane023, Wikidata-bugs, Base, matthiasmullie, Ricordisamoa, Wesalius, Lydia_Pintscher, Raymond, Steinsplitter
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
