Bug 6634 - Reading Tools "Print this article" button doesn't work with custom galley identifiers
Reading Tools "Print this article" button doesn't work with custom galley ide...
Status: RESOLVED FIXED
Product: OJS
Classification: Unclassified
Component: User Interface
2.3.5
All All
: P3 normal
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-05 14:40 PDT by James MacGregor
Modified: 2011-05-17 16:16 PDT (History)
1 user (show)

See Also:
Version Reported In: 2.3.4
Also Affects:


Attachments
Patch against OJS 2.3.4 (1.03 KB, patch)
2011-05-17 16:13 PDT, Michael Felczak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James MacGregor 2011-05-05 14:40:35 PDT
If I enable and use custom galley identifiers,  the subsequent URLs don't work properly with the RT's "Print this article" button. (Only HTML and abstract views are affected.) 

An HTML article without a custom ID will return the following URL when the print button is clicked: 

http://git/ojs/index.php/demo/rt/printerFriendly/2/3 

... which displays the HTML, and also the print dialog. 

A galley with a custom identifier will return something like the following URL (where "HTML" is the custom ID): 

http://git/ojs/index.php/demo/rt/printerFriendly/1/html

... which displays the article abstract -- *not* the correct HTML galley.
Comment 1 Michael Felczak 2011-05-17 16:13:34 PDT
Created attachment 3509 [details]
Patch against OJS 2.3.4