Lea_Lacroix_WMDE created this task.
Lea_Lacroix_WMDE added a project: Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  Currently, string values are not trimmed for some properties (cf T47925 
<https://phabricator.wikimedia.org/T47925>), and if I enter a string ending 
with a blank space in a text value (tested with burial plot reference (P965 
<https://phabricator.wikimedia.org/P965>)), I'll get the following error:
  
    Could not save due to an error.
    
    Malformed input: test 
  
  Two problems here:
  
  - the error message doesn't give a clear indication of what is happening (a 
blank space at the beginning or the end of the string)
  - the blank space at the end of "test " is part of the message, but not 
visible because it's the very last character of the message
  
  Which means that the user gets an error message but doesn't get a clear path 
to fix the input.
  
  Suggestions: improve the description of the error message, or a minima 
enclose the faulty string with quotes so the blank space is more visible.

TASK DETAIL
  https://phabricator.wikimedia.org/T250695

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lea_Lacroix_WMDE
Cc: Lydia_Pintscher, Lea_Lacroix_WMDE, Aklapper, darthmon_wmde, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to