Closed (fixed)
Project:
Printer, email and PDF versions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2011 at 23:51 UTC
Updated:
14 Sep 2012 at 01:01 UTC
I have a page "q=content/mypage"
When i send this page by email it's ok.
But i have another webform page. Which shows the results of the queries.
"q=content/results&first=mary&second=mark"
When i try to send this page by email, this module tries to send
this page "q=content/results"
The results page without the arguments doesn't make sense for the email receiver.
The page is whole different when "first" and "second" arguments are set.
I suppose this is a bug.
I would be happy if you would inform us.
Thank you.
Comments
Comment #1
trante commentedIs it possible to fix this?
Comment #2
trante commentedAny comments please?
Comment #3
trante commentedDo you plan to fix this error ?
Comment #4
jcnventuraI think this is now fixed (by the patch provided in #1322222: Problem with URL parameters in D7). Can you please try the latest dev and check this?
Comment #5
trante commentedI installed latest dev version.
updated database, cleared cache, run a cron,
but unfortunately nothing changed.
Still page arguments are not taken into account.
Comment #6
jcnventuraThanks for letting me know.
Comment #7
jcnventuraI just tested this with plain webform, and I couldn't see any filters. The only URL arguments were for sorting the results table, and when sending that by e-mail, the contents of the e-mail were the expected ones.
Using exposed Views filters also worked fine when sending by email.
How did you build that results page?
Comment #8
jcnventuraNo further info in more than two weeks. Closing the issue.
Comment #9
trante commentedIn my webform's form settings page (for example node/163/webform/configure)
I select "Custom URL" which is: content/my-results-page?from=%value[from]&to=%value[to]
"my-results-page" is a php file which takes the form value with: $_GET['to'] and $_GET['from']
Then the page parses some data and show results.
So my page becomes as "content/my-results-page?from=alaska&to=denver"
When I try to send page with email, only "content/my-results-page" part is added to email link. Arguments don't come to URL.
Comment #10
trante commentedI also uninstalled print module and installed "7.x-1.1" version. Run an update and cron.
Tried to send form results with email.
But still the same error occurs..
Comment #11
jcnventuraComment #12
lukusI've experienced this bug - but discovered it from a different angle .. I'd opened a separate issue, and have now marked that as a duplicate. Please reopen http://drupal.org/node/1665008 if necessary.
Any advice greatly appreciated.
Luke
Comment #13
lukusI think the problem might be related to the print_controller() function in print.pages.inc - it seems that the $path is dissected quite heavily and the arguments are lost before _print_generate_node() is called.
Comment #14
jcnventurahttp://drupalcode.org/project/print.git/commit/75c6fc4