Closed (won't fix)
Project:
Printer, email and PDF versions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 May 2014 at 12:55 UTC
Updated:
4 Oct 2018 at 06:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rv0 commentedPatch seems to fix it, based on the similar fixes in core (see above)
Comment #2
rudiedirkx commentedAlmost, but not quite.
_print_generate_path()does the same. It checks forMENU_NOT_FOUNDandMENU_ACCESS_DENIED, but doesn't handle it well:I did the same there and that works: replace
return FALSEwithdrupal_exit().It's very strange that
_print_generate_path()even callsdrupal_not_found()... This is a helper function that should be callable from anywhere, it shouldn't alter the request. But since it does that anyway, I think this is the solution.Comment #3
rudiedirkx commentedSince 2.x is the active branch, and it's still a bug in 2.0.
Comment #4
rudiedirkx commentedAnd the patch against 2.x-dev
Comment #5
rudiedirkx commentedComment #6
interdruper commented#4 works for me. Thx!
Comment #7
alcroito commentedProviding a more complete patch for 1.x version of the module, in case anyone needs it.
Comment #8
spadxiii commentedAdded another set of drupal_exit()'s in _print_generate_node() where the same not_found/access_denied were triggered to the patch in #4.
Other than that, works as expected!
Comment #9
joewhitsitt#8 works for me. thank you!
Comment #10
rudiedirkx commentedAnyone, please commit!
Comment #11
rjacobs commentedI'm hiding all but the most recent patch in hopes that speeds-up the review.
Also, as annoying as the bug is I'm not sure it qualifies as "critical" as I don't think it leads to instability or data loss. So "major" may be most appropriate. That's probably splitting hairs though. Either way hopefully a maintainer can have a look here.
Comment #12
webservant316 commented#8 works for me. thanks! yes lets get this committed!
Comment #13
rv0 commentedbump #8
Comment #14
Rob_Feature commentedyup, all good on my end with the patch in #8. I messaged the maintainer to see if we can get this committed.
Comment #16
jcnventuraThanks!
Comment #17
Anonymous (not verified) commentedWill this be backported to 7.x-1.3?
Comment #18
jcnventuraIt probably makes some sense to port it back to 7.x-1.x.. But you should really move away from that branch.
Comment #19
Anonymous (not verified) commentedHere's a fix for 7.x-1.x. node/2012852
Comment #20
jcnventuraI've deprecated the 7.x-1.x-dev branch.