View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002966 | mantisbt | bugtracker | public | 2003-02-20 01:05 | 2005-04-18 10:31 |
| Reporter | vboctor | Assigned To | thraxisp | ||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | suspended | ||
| Summary | 0002966: bug_resolve and bug_close.php always show bug simple details | ||||
| Description | The details shown should depend on whether the user's preference is simple or advanced. It can also depend on the referer, hence, depending on how the user was viewing the bug. | ||||
| Tags | No tags attached. | ||||
|
This issue also applies to bug_reminder_page.php. |
|
|
are you sure? they seem to call print_successful_redirect() which calls string_get_bug_view_url() which should get the appropriate bug view page for the user. It doesn't take into account which you were viewing but, honestly, looking at the referrer is a bit of a hack (and won't really work because the referrer will be e.g. bug_resolve_page.php) I personally think swapping between the two is a pretty useless feature. If you want to change, change your preference. |
|
|
I am not referring to what the reminder form redirects to. In the reminder page itself, under the form you get the bug details and the bugnotes. The bug details are always the simple bug details. It is not dependent on the user settings. |
|
|
Here is the fix: bug_report.php: line 147: print_bracket_link( string_get_bug_view_url( $t_bug_id ), lang_get( 'view_submitted_bug_link' ) . " $t_bug_id" ); edited on: 03-20-03 04:27 |
|
|
hrm... I don't see how that is a fix for this problem. But it is certainly a fix that needs applying... I can't believe that's been in there since October. I honestly can't imagine how the code got the way it was. Anyway, I've applied this fix in CVS. |
|
|
My fault, skim read the details. This should have been a separate bug. |
|
|
This is obsolete as 0.19. |
|
|
MantisBT: master 468f1907 2003-03-20 02:09 Julian Fitzell Details Diff |
Fix suggested by andrew <andrew@superstructure.co.nz> in issue 0002966 (though not a resolution for that issue) * bug_report.php: get the vuew page for the current user instead of user 1 (I can't believe that code has been there since October) git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2113 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0002966 |
|
| mod - bug_report.php | Diff File | ||