I reported this http://drupal.org/node/356073 a week ago. Then you fixed it yesterday. I upgrade to the latest dev today. I noticed two things are not working, and you can test it out here http://craftbeerguild.org/recommend/winter-seasonal-beers
1. When a user receive the email sent by the page, the sender is "nobody", even though the sending form on the website contains correct sender's email.
2. The nodereference field like the example above does NOT display the configured content(meaning teaser or full node) in print or emails; only a list of links are printed. This was working well before.
3. Performance issues. It takes noticeable amount of time to print/send email, but before it was very short.

Comments

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

Strange...

Can you test one thing out for me?

Delete the print_content_build_modes() function in print.module and tell me if that changes anything for you.. It's the only major change that could be doing something in this case..

João

skyredwang’s picture

After I deleted print_content_build_modes() function in print.module,
I emptyed cache,
then
1. The sender is still "nobody"
2. Nodereference field still display only a list of links.
3. Performance issue is still there; it takes 2-3 seconds.

jcnventura’s picture

The nobody sender is probably a security feature from your server, as my tests don't duplicate that behaviour..

Your bug is blocking v1.1 and I would like to be able to solve it. Can you try removing the '$node->build_mode = 'print';' line and to make sure that all hooks are properly re-made disable all the print modules in Drupal's module admin page, then press save and re-enable them again.

João

skyredwang’s picture

For the first 'nobody' problem, I have root access to my server. Do you have any advice about how to debug this?

Second problem:
Here are the steps I have taken for debugging.
1. Disabled print,pdf and sending email module.
2. Uninstalled the 3 modules.
3. Reinstalled the 3 modules.
4. re-configurated them.
5. went to page http://craftbeerguild.org/list/great-wood-aged-beers , but there was no luck.
6. deleted $node->build_mode='print'; line in print.pages.inc
7. emptyed cache.
8. Went to http://craftbeerguild.org/list/great-wood-aged-beers, print web page works fine. Sending email works fine. Also, my previous reported image bug has been fixed.

Please let me know if you need any other info.

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Fixed

Hi,

Thanks a lot!!!!

I have reverted the entire patch that introduced that line (and the print_content_build_modes() function).

With this fixed, I am able to release version 1.1. Expect it today or tomorrow..

João

jcnventura’s picture

Just one final question, what version of CCK are you using?

skyredwang’s picture

Thanks!
My CCK is Content Construction Kit (CCK) 6.x-2.1

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.