Ticket #3209 (closed Bug: fixed)

Opened 6 years ago

Last modified 12 months ago

sendto error

Reported by: Anonymous User Owned by:
Priority: minor Milestone: Past
Component: Templates/CSS Keywords:
Cc:

Description

When one tries to send the current page via the sendto_form link, the message "Global 'to' is not defined' is displayed and sendto failed. After some tracing, the bug was found to be in the file Products/CMFPlone/PloneTools.py within the function _safeSendTo. The statement "if not self.validateEmailAddresses(to):" should be changed to "if not self.validateEmailAddresses(mto):". The sendto functionality works after the change.

Change History

Changed 6 years ago by andym

  • status changed from new to closed
  • resolution set to fixed

Fixed in Plone-2_0-branch, errata added to website for 2.0.3.

Changed 6 years ago by anantsabane

even with changing the text as mentioned, the message continues displaying. It is not yet resolved for me. and the file is not ploneTools.py but ploneTool.py

Changed 6 years ago by CMYanko

This solution did work for me though I had to stop and restart Plone for it to take effect. I noticed that the PloneTool.pyc did not get updated (I even tried deleting it) until I restarted. Thanks

Changed 5 years ago by Anonymous User

I installed Plone2-2.0.3-2.rh.i386.rpm and this defect was not corrected. As suggested, I stopped plone, modified the file and then restarted plone and it was fixed.

Changed 12 months ago by hannosch

  • component changed from Usability to Templates/CSS
Note: See TracTickets for help on using tickets.