View Issue Details

IDProjectCategoryView StatusLast Update
0011141mantisbtotherpublic2010-02-22 14:34
Reporteryw84ever Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.2.0rc2 
Target Version1.2.0Fixed in Version1.2.0 
Summary0011141: message "Access Denied." appears on bug_reminder_page.php, not clear to what it is referring
Description

The page 'bug_reminder_page.php' displays "Access Denied." below the 'reminder_explanation'.

I am not sure to what the 'access denied' is referring because the reminder can be sent. (click a user from the list, fill in some text, click send)

What do I not have access to do? Apparently this shows up with all user accounts, though the one I am attempting it from now is an 'admin' account.

Steps To Reproduce

"Access Denied." no longer appears on the sending reminder page after having removed

<pre>
<?php include( dirname( FILE ) . DIRECTORY_SEPARATOR . 'bug_view_inc.php' ) ?>
<?php include( dirname( FILE ) . DIRECTORY_SEPARATOR . 'bugnote_view_inc.php' ) ?>
</pre>

from bug_reminder_page.php; perhaps someone with a better understanding of the code and the system's design can review what the relevance of those two lines there

<pre>
$ git diff bug_reminder_page.php
diff --git a/bug_reminder_page.php b/bug_reminder_page.php
index c7af0f3..46233b6 100644
--- a/bug_reminder_page.php
+++ b/bug_reminder_page.php
@@ -107,8 +107,6 @@
</div>

<br />
-<?php include( dirname( FILE ) . DIRECTORY_SEPARATOR . 'bug_view_inc.php' ) ?>
-<?php include( dirname( FILE ) . DIRECTORY_SEPARATOR . 'bugnote_view_inc.php' ) ?>

<?php
html_page_bottom( FILE );
</pre>

Additional Information

running git master-1.2.x (currently at 70bbad263af33fbcfd0a99bc64f33f98ddc1c291)

Also - not really sure what the 'click here to proceed' link is doing at the reminder page, since one should click the send button to send the proceed with sending the reminder

TagsNo tags attached.
Attached Files
bugreminder.png (42,972 bytes)   
bugreminder.png (42,972 bytes)   

Activities

vboctor

vboctor

2009-11-10 02:42

manager   ~0023631

I've confirmed this error on this bug tracker. Changed status to confirmed and set target version to 1.2.x.

yw84ever

yw84ever

2009-11-10 04:09

reporter   ~0023636

guess it also means when receiving the reminder, instead of seeing the history of the issue, one just sees "Access denied." in the email.

yw84ever

yw84ever

2009-11-12 04:33

reporter   ~0023676

ran git bisect on this as well. started with good at release-1.2.0rc1 and bad at current head.

git bisect reports that commit 40042ada93bd2f13c766d47002a68926e0a14941 was the first to change this behavior. (Before, the page for sending a reminder showed the bug notes below the box for entering the reminder and selecting the recipients. After, it just shows access denied as shown in the attached screenshot.)

vboctor

vboctor

2009-11-12 07:20

manager   ~0023685

This is already fixed in http://git.mantisbt.org/?p=mantisbt.git;a=commitdiff;h=29b13fb85b3dcdee5ea6b8957e622f5d6c6c37f5