User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 Bugzilla interface shows up in frame of deleted attachments in View All If you allow attachment deletion and, as Admin, delete an obsolete attachment. The bugzilla interface shows up in the deleted bug's frame when you select View All (see attachment) Reproducible: Always Steps to Reproduce: 1. In Administration > Parameters > Attachments, enable allow_attachment_display and allow_attachment_deletion 2. Select bug with obsolete attachments 3. Click on Show Obsolete link in the Attachments block 4. Click on the Details link next to an obsolete attachment 5. Click on the Delete link in the Actions line at the bottom 6. Confirm delete when asked 7. Back up to screen with Attachment block, and click on the View All link in the lower, right corner of the block Actual Results: Get list of attachments with graphics displayed in frame below each listed attachment. However, the deleted item show the Bugzilla interface inside the frame with big red allert saying "The attachment you are attempting to access has been removed." This is an the actual interface with click-able links. Expected Results: List of items with deleted items removed, or records including ones saying the item was removed, but it should NOT include the Bugzilla interface in the frame.
Created attachment 439982 [details] Screen capture showing Bugzilla interface inside deleted attachment frame
Created attachment 445729 [details] [diff] [review] patch, v1 Let's ignore deleted attachments as there is nothing to see.
Let's take it for 3.6.1 too. a=me as module owner.
Committing to: bzr+ssh://firstname.lastname@example.org/bugzilla/trunk/ modified attachment.cgi Committed revision 7177. Committing to: bzr+ssh://email@example.com/bugzilla/3.6/ modified attachment.cgi Committed revision 7098.