Last modified: 2014-11-13 13:18:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74561, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72561 - VisualEditor: Don't allow whitespace-only comments to be inserted
VisualEditor: Don't allow whitespace-only comments to be inserted
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Low normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-27 14:50 UTC by Ritu Swain
Modified: 2014-11-13 13:18 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
screenshot of the comment popup (2.63 KB, image/png)
2014-10-27 14:50 UTC, Ritu Swain
Details

Description Ritu Swain 2014-10-27 14:50:21 UTC
Created attachment 16908 [details]
screenshot of the comment popup

Environment- test2,beta,production

1> In VE, select to insert a comment.
2> When the dialog opens just enter space in the text area and click Done.
3> Notice the comment popup’s appearance (appears to be smaller, than the regular size).See screenshot.
4> Click on the popup. Notice the Edit comment box's textarea is empty  with no space taken up for the whitespace characters.
Comment 1 etonkovidova 2014-11-03 23:42:07 UTC
Confirmed - a Comment with white spaces can be saved. Generally

- it is not possible to create an empty comment
- if all text is deleted from the comment - it cannot be saved
- leading and trailing white spaces are not preserved upon saving 

If you re-open the saved Comment with white spaces and click Done - the comment will be recognized as an empty comment and deleted.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links