문제

Is this possible to setup Steps To Reproduce field so it's required?

It's always difficult to get enough info from reporters, so maybe forcing them to fill this field will help us - programmers - a little.

I would like to still be able to update mantis without troubles.

도움이 되었습니까?

해결책

You are able to achieve this by changing, (in bug_report.php)

$t_bug_data->steps_to_reproduce = gpc_get_string( 'steps_to_reproduce', '' ); 

To

$t_bug_data->steps_to_reproduce = gpc_get_string( 'steps_to_reproduce' ); 

But on the advanced report it doesn't show an * (Asterisk) to indicate that it is mandatory. You have to add the * yourself in the PHP file.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top