Using Mantis 1.1.8. I added a new custom field of type string called "MyValue". I checked on "Required on Report" and then clicked on "Update Custom Field Button". After that I assigned the the custom field to one of the projects. Now when I tried to report an issue to that project, Mantis still allowed me to successfully submit an issue without having to fill anything in the "MyValue" custom field. Is that an expected behaviour in Manits?
The only way I could force the user to fill that field is to specify the "Min. Length" parameter for that field. What am I missing?
Cannot make Custom Field required
Moderators: Developer, Contributor
Re: Cannot make Custom Field required
OK, I am pretty sure that this might be a bug as the only thing that happens upon checking "Required on Report" for a custom field is that red asterisk (*) is displayed next to the field and there is no checking whatsoever to make sure that user has filled some value in it.
Has anyone experienced the same issue on Mantis 1.1.8?
Has anyone experienced the same issue on Mantis 1.1.8?
Re: Cannot make Custom Field required
Alright. I really need some help here as I think this is a bug in Mantis 1.1.8. Unfortunately, I cannot upgrade my Mantis installation and I need to fix it in the 1.1.8 code.
I have been able to reproduce this on a fresh 1.1.8 install.
I have been able to reproduce this on a fresh 1.1.8 install.
Re: Cannot make Custom Field required
Here is the answer to the question.
http://www.mantisbt.org/bugs/view.php?id=10670
Link found by atrol.
http://www.mantisbt.org/bugs/view.php?id=10670
Link found by atrol.