Fixed bug allowing a request to be published with empty summary fields.

Review Request #3760 — Created Jan. 18, 2013 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

Fixed bug allowing a request to be published with empty summary fields.

In the publish request page, if you filled the summary or description field then deleted the contents, the fields would not be updated but the ReviewRequest object would be updated.  This allowed a request to be published with empty fields although the page showed they were not empty.

The fields are now emptied to then be filled with the new contents, avoiding this issue.
Checked in browser that the summary and description fields are updated if you empty the field.  The Web UI does not allow the request to be published after the field is emptied.