View Issue Details

IDProjectCategoryView StatusLast Update
0012451mantisbtbugtrackerpublic2010-10-15 06:12
Reportercproensa Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version1.2.3 
Summary0012451: bug_report.php, rel_type is not included in t_bug_data object for events processing or custom validation
Description

on bug_report.php
the relations and master bug info is read directly from gpc:

$f_master_bug_id = gpc_get_int( 'm_id', 0 );
$f_rel_type = gpc_get_int( 'rel_type', -1 );

this happens after custom call issue_create_validate
and after EVENT_REPORT_BUG_DATA

Im trying to work around 0012450, wich sets default relation to 'none', and i want a default relation to be created on copy.

my workaround is modifying $_POST['rel_type'] from custom issue_create_validate, but this is a quite ugly hack (i mean without altering mantis base src)

it's on v1.2.3 but also in current git

TagsNo tags attached.

Activities

There are no notes attached to this issue.