View Issue Details

IDProjectCategoryView StatusLast Update
0012956mantisbtbugtrackerpublic2024-04-19 07:42
Reporterdjuntgen Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.2.5 
Target Version2.26.2Fixed in Version2.26.2 
Summary0012956: Target Version does not respect GET or POST value when reporting issue
Description

in bug_report_page.php line 395


<select <?php echo helper_get_tab_index() ?> name="target_version">
<?php print_version_option_list() ?>
</select>

Should be:


<select <?php echo helper_get_tab_index() ?> name="target_version">
<?php print_version_option_list( $f_target_version) ?>
</select>

It works for Product Version.

Additional Information

FIX:
index 8e1a7f8..8223e63 100644
--- a/../bug_report_page.php
+++ b/bug_report_page.php
@@ -392,7 +392,7 @@
</td>
<td>
<select <?php echo helper_get_tab_index() ?> name="target_version">

  • <?php print_version_option_list() ?>
  • <?php print_version_option_list( $f_target_version) ?>
    </select>
    </td>
    </tr>
Tagspatch

Relationships

has duplicate 0029150 resolveddregad Missing target version when task is cloned 

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master-2.26 c3f45929

2024-04-19 07:42

dregad


Details Diff
Respect Target Version param when reporting bugs

Until now, if bug_report_page.php was called with target_version query
parameter, or when cloning an issue having Target Version set, the form
would always be displayed with an empty Target Version selection list.

Fixes 0012956
Affected Issues
0012956
mod - bug_report_page.php Diff File