MantisBT

View Issue Details Jump to Notes ] Wiki ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010845mantisbtapi soappublic2009-08-17 18:022009-10-07 14:20
Reporterrombert 
Assigned Tovboctor 
PriorityhighSeveritymajorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.2.0rc1 
Target VersionFixed in Version1.2.0rc2 
Summary0010845: mc_issue_update erases Additional info and steps to reproduce
DescriptionCode from mci_issue_add:

       $t_bug_data->description = $t_description;
        $t_bug_data->steps_to_reproduce = isset( $p_issue['steps_to_reproduce'] ) ? $p_issue['steps_to_reproduce'] 
: '';
        $t_bug_data->additional_information = isset( $p_issue['additional_information'] ) ? $p_issue['additional_information'] 
: '';


Code from mci_issue_update

        $t_bug_data->description = $t_description;
        $t_bug_data->steps_to_reproduce = isset( $v_steps_to_reproduce ) ? $v_steps_to_reproduce : 
'';
        $t_bug_data->additional_information = isset( $v_additional_information ) ? $v_additional_information 
: '';


Needless to say, the $v_ fields are not set anywhere.
Tagspatch
Attached Filespatch file icon 0001-Fix-10845-mc_issue_update-erases-Additional-info-and.patch [^] (1,287 bytes) 2009-08-17 18:04 [Show Content]
patch file icon 0001-Fix-10845-mc_issue_update-erases-Additional-info-2.patch [^] (1,323 bytes) 2009-08-18 03:04 [Show Content]

- Relationships

-  Notes
User avatar (0022741)
rombert (developer)
2009-08-17 18:05

Trivial patch added.
User avatar (0022745)
vboctor (administrator)
2009-08-18 02:55

The patch doesn't seem to be correct, $t_steps_to_reproduce and $t_additional_information are not defined.
User avatar (0022746)
rombert (developer)
2009-08-18 03:05

@vboctor: You're right, small mixup between branches. I've uploaded a fixed patch: $p_issue is defined and this follows the pattern of mc_issue_add.

- Related Changesets
MantisBT: master 61c4bd98
Timestamp: 2009-10-05 06:42:08
Author: vboctor
Details ] Diff ]
Fixes 0010845: mc_issue_update() erases "additional info" and "steps to reproduce".
mod - api/soap/mc_issue_api.php Diff ] File ]
MantisBT: master-1.2.x 3ee223cf
Timestamp: 2009-10-05 06:42:08
Author: vboctor
Details ] Diff ]
Fixes 0010845: mc_issue_update() erases "additional info" and "steps to reproduce".
mod - api/soap/mc_issue_api.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2009-08-17 18:02 rombert New Issue
2009-08-17 18:04 rombert File Added: 0001-Fix-10845-mc_issue_update-erases-Additional-info-and.patch
2009-08-17 18:04 rombert Tag Attached: patch
2009-08-17 18:05 rombert Note Added: 0022741
2009-08-18 02:55 vboctor Note Added: 0022745
2009-08-18 03:04 rombert File Added: 0001-Fix-10845-mc_issue_update-erases-Additional-info-2.patch
2009-08-18 03:05 rombert Note Added: 0022746
2009-10-05 02:43 vboctor Status new => resolved
2009-10-05 02:43 vboctor Fixed in Version => 1.2.2
2009-10-05 02:43 vboctor Resolution open => fixed
2009-10-05 02:43 vboctor Assigned To => vboctor
2009-10-05 02:50 vboctor Changeset attached master 61c4bd98 =>
2009-10-05 10:50 vboctor Changeset attached master-1.2.x 3ee223cf =>
2009-10-07 14:20 jreese Status resolved => closed


MantisBT 1.2.17 [^]
Copyright © 2000 - 2014 MantisBT Team
Time: 0.0829 seconds.
memory usage: 3,045 KB
Powered by Mantis Bugtracker