New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: JRA-8716
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Scott Farquhar [Atlassian]
Reporter: Anton Mazkovoi [Atlassian]
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA

On Orion the printable decorator of an issue does not remove the toolbar

Created: 05/Dec/05 04:21 PM   Updated: 23/Oct/06 03:41 AM
Component/s: Web interface
Affects Version/s: 3.4.2
Fix Version/s: 3.7

Time Tracking:
Original Estimate: 1 day
Original Estimate - 1 day
Remaining Estimate: 1 day
Remaining Estimate - 1 day
Time Spent: Not Specified
Remaining Estimate - 1 day

Issue Links:
Duplicate
 
Reference
 

Participants: =Neal Applebaum, Anton Mazkovoi [Atlassian], Jes A, Mark Chaimungkalanont [Atlassian] and Scott Farquhar [Atlassian]
Since last comment: 1 year, 44 weeks, 3 days ago
Resolution Date: 23/Oct/06 03:41 AM
Labels:


 Description  « Hide
When clicking the printable icon in the top-right corner of the View Issue page the resultant view should not have the JIRA toolbar (with Home, Find Issue links, etc).

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
=Neal Applebaum added a comment - 05/Dec/05 05:28 PM
or footer or operations... it works entirely differently in 3.3.3

=Neal Applebaum added a comment - 06/Dec/05 08:29 AM
On version 3.4.2 (j.a.com) it doesn't seem to do much of anything...

Mark Chaimungkalanont [Atlassian] added a comment - 15/Dec/05 09:51 PM
Quite a curiious problem. Seems to only be a problem for the QuickLinkServlet that is, all the links under /browse/. and only on *Orion. It also works fine under Tomcat. For some reason the decorator value simply gets ignored. Will investigate further

Mark Chaimungkalanont [Atlassian] added a comment - 18/Dec/05 11:20 PM
It appears the Orion, somehow or rather, strips the request parameters from the request after the rest of the filter chain has ran.

In the sitemesh filter {[PageFilter}} the method below is ran.

protected Page parsePage(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException {
...
            PageResponseWrapper pageResponse = new PageResponseWrapper(response, factory);
            chain.doFilter(request, pageResponse);
            // check if another servlet or filter put a page object to the request
            Page result = (Page)request.getAttribute(PAGE);
...

Before the chain.doFilter call, request.getParameter("decorator") returns the correct value (printable). After the doFilter chain, request.getParameter returns null and indeed, the request contains no parameters.

The request object passed to the QuickLinkServlet contains all the parameters passed, including the decorator property, which is why the printable view appears to do nothing.

However, if you actually print the page, then toolbar and the likes disappear in any case. A strange problem, however...


Anton Mazkovoi [Atlassian] added a comment - 22/Dec/05 10:15 PM
The problem seems ot be Orion specific.

Jes A added a comment - 03/Apr/06 03:17 PM
And Oracle
(Oracle Application Server - 10g (9.0.4.1.0))
/Jes

Scott Farquhar [Atlassian] added a comment - 19/Oct/06 02:39 AM
This should be fixed in 3.7 by making the top-right printable link link to the printable view of an issue.

Scott Farquhar [Atlassian] added a comment - 23/Oct/06 03:41 AM
I can confirm that on 3.7 and Orion 2.0.2, this is fixed.