#2655 Fix the edit issue endpoint when the user does not actually edit anything
Merged by pingou. Opened by pingou.
fix_editing_issue  into  master

Download 2655.patch

Fixes https://pagure.io/fedora-infrastructure/issue/6389

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

Would messages be None when nothing was edited ? If so it could be if messages is not None

If data is an empty dict, what would happen ?

2 questions, but looks good :thumbsup:

It should be None yes

Wouldn't work, the form validation won't allow it (tested in other tests above)

Thanks! :)

Pull-Request has been merged by pingou

Metadata