gitlabhq/gitlabhq — pull request #7465 by Razer6 (2014-08-10 09:05:57+00:00)
Title: Better label color validation, fixes #7454

##### What does this MR do?

This PR improves the label color validation. Color isn't allowed to be empty. Additional it adds testcases for invalid input.

Why was this MR needed?

500 error is raised if color is empty.

What are the relevant issue numbers?

This PR fixes #7454