View Issue Details

IDProjectCategoryView StatusLast Update
0003076mantisbtotherpublic2003-12-13 04:38
Reporterhacker Assigned Tovboctor  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Versiongit trunk 
Summary0003076: Bug reports are added to the "wrong" project
Description

If you add a bug for one project after you have switched to another project in another browser window, the bug will be added to the other project instead.

Steps To Reproduce
  1. Select e.g. the Mantis project in the first browser window.

  2. Select "Report bug" in the first browser window.

  3. In another browser window, select a different project from the project dropdown selection list.

  4. Fill out and submit the bug report in the first window.

  5. The bug will be added to the project selected in the second window.

Additional Information

Not only is the bug added to the wrong project, but it has the categories from the first project. For example, if the "Mantis" project selected in the first browser window has two categories "bugtracker" and "website", and a second project "Test Project" has two categories "documentation" and "other", submitting the bug report in the first window will show one of the categories from the "Test Project" when viewed with bug_view*_page.

TagsNo tags attached.

Activities

jfitzell

jfitzell

2003-03-24 18:13

reporter   ~0004050

in case anyone wants to implement it before I get there... the solution is to use the current project id when creating the project report form but to submit the project id with the form.

vboctor

vboctor

2003-04-09 13:08

manager   ~0004144

Fixed in CVS. Will be available in 0.18.0a5.

Related Changesets

MantisBT: master d0845314

2003-04-09 07:07

vboctor


Details Diff
Fix 0003076: Bug reports are added to the "wrong" project.

M bug_report.php
M bug_report_page.php
M bug_report_advanved_page.php
- Changed the report forms to send the project id, rather than the action page using the current id.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2145 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0003076
mod - doc/ChangeLog Diff File
mod - bug_report.php Diff File
mod - bug_report_advanced_page.php Diff File
mod - bug_report_page.php Diff File