* Move the "bugsold" folder to <code>/home/gramps/</code> to prevent access.
* After a two weeks, remove the "bugsold" folder.
<hr>
Final required modifications to MantisBT source code so that the "Gramps > Product Version" is required by default when raising bug reports:
* In <code>[https://github.com/mantisbt/mantisbt/blob/master/core/bug_api.php core/bug_api.php]</code> find:
<pre>function validate( $p_update_extended = true ) {</pre>
and add this in just below (check braces are balanced):
<pre>
{
# Version Cannot be blank (manually added for Gramps Project)
# Magic Number: profile_id # 3 is for Gramps issues.
if($this->project_id !== 3) {
if( is_blank( $this->version ) ) {
error_parameters( lang_get( 'version' ) );
trigger_error( ERROR_EMPTY_FIELD, ERROR );
}
}
</pre>
* In <code>[https://github.com/mantisbt/mantisbt/blob/master/bug_report_page.php bug_report_page.php]</code> added line to make the red '''*''' (Asterisk character) show after the "Gramps > Product Version" find:
<code><label for="product_version"><?php echo lang_get( 'product_version' ) ?></label></code>
To read:
<code><label for="product_version"><?php echo '<span class="required">*</span>' . lang_get( 'product_version' ) ?></label></code>
<hr>
Also check that the following two links work and are not blank: