Page 1 of 1
How to set field "Product version" mandatory during report
Posted: 02 Jul 2008, 14:26
by scouny
I want to oblige users of my database mantis to fill the field "Production version" during reporting.
This field is not a custom one but an original one field, and i don't know how to do.
Cordially,
Re: How to set field "Product version" mandatory during report
Posted: 03 Jul 2008, 06:34
by deboutv
Re: How to set field "Product version" mandatory during report
Posted: 04 Jul 2008, 08:18
by scouny
Thanks Deboutv.
All seems Ok.
Do you know the value used by Mantis for "OS Version" and "Plateform", because i would like to do the same thing.
I mean set these fields mandatory.
Cordially,
Re: How to set field "Product version" mandatory during report
Posted: 04 Jul 2008, 12:01
by scouny
I found the name for other fiels.
Under /usr/share/mantis/www/bug_report.php
$t_bug_data = new BugData;
$t_bug_data->build
$t_bug_data->platform
$t_bug_data->os
$t_bug_data->os_build
$t_bug_data->version
$t_bug_data->profile_id
$t_bug_data->handler_id
$t_bug_data->view_state
$t_bug_data->category
$t_bug_data->reproducibility
$t_bug_data->severity
$t_bug_data->priority
$t_bug_data->summary
$t_bug_data->description
$t_bug_data->steps_to_reproduce
$t_bug_data->additional_information
Thanks one more times.
Re: How to set field "Product version" mandatory during report
Posted: 18 Jul 2008, 08:45
by Reindero
Hi,
I tried this, but got the following error:
Notice: Undefined index: 9000 in D:\rotter\Desktop\Webserver\Root\mantis-1.1.2\core\error_api.php on line 343
And the * isn't on the page so you see it is mandatory....how can I change this?
Re: How to set field "Product version" mandatory during report
Posted: 15 Aug 2008, 06:52
by sckerr
Reindero wrote:Hi,
I tried this, but got the following error:
Notice: Undefined index: 9000 in D:\rotter\Desktop\Webserver\Root\mantis-1.1.2\core\error_api.php on line 343
And the * isn't on the page so you see it is mandatory....how can I change this?
There are some notes here that might help you with this:
http://www.mantisbt.org/forums/viewtopi ... 474#p14536
Re: How to set field "Product version" mandatory during report
Posted: 15 Aug 2008, 08:05
by deboutv