TheProlog / prolog-use_cases

Use-case layer for Meldd/Prolog application.
0 stars 0 forks source link

Propose Edit Contribution must allow blank or empty Replacement Content. #32

Closed jdickey closed 8 years ago

jdickey commented 8 years ago

Per a Slack discussion with @mitpaladin:

I think "The Replacement Content is blank;” should be taken out, as in the case were an Edit Contribution is made to eliminate extraneous words

This breaks code in Prolog::UseCases::ProposeEditContribution::FormObject::ProposedContentValidator; which will need to be modified to allow blank or empty Replacement Content. For the sake of consistency, multiple whitespace characters (a blank replacement) must be treated as a single space character.

"Enhancement" rather than either "feature" or "bug" since this is (AFAICT) a new requirement.