-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variable substitutions partly not working #4
Comments
@ida thanks for the ping, i didn't received any notice about this issue. Btw the solution is easy. Now the rule uses plone.stringinterp that doesn't have a substitution for ${text} and ${namedirectory}. For ${text} we created a separate plugin to do it: collective.stringinterp.text that should be added as dependency. For ${namedirectory} i think that we should copy the things done in collective.stringinterp.text (see the code on github for an example: https://github.com/RedTurtle/collective.stringinterp.text) directly in this product. At this moment i'm a bit busy, but i could find some time in the next days..otherwise, if you want to try to fix it, you're welcome ;) |
Hi @cekk, thank for the infos! Yes, I also tested collective.stringinterp.text for the text-substitution ~ 2 months ago, and it wasn't much of a fuzz to implement it, as you suggest, just also don't have time right now and simply stick with vs. 1.3.1, in the meanwhile, so no pressure of my side. But good to know it's on the plate, so we (meh and meh clients) don't have to go with a fork. I might come back to it, too, let's see who's first ;) |
@cekk: Just in case you find the time to redo the regressions, please remind that the text-field's substitution needs to regard whether a receiving email's client is configured to show mails in HTML or in plain text (see the ripped out code of vs. 1.3 on how I had done that, following a doc of P. Bengtsson, see: https://github.com/collective/collective.contentrules.mailtogroup/blob/1.3/collective/contentrules/mailtogroup/actions/mail.py#L157), TIA. |
@cekk Are you gonna restore the damage done, one day, or? |
@cekk So apparently I'm a witch-hunter, you've accidentally overseen a couple dozens lines of code and the other guys pushing the package further didn't notice either. Additionally I'm constantly accused to want you to work for free. I am closing this now. Thanks for your time. |
The variables ${namedirectory} and ${text} won't be substituted anymore since of version 1.5
Any idea what happened and how to fix?
The text was updated successfully, but these errors were encountered: