[SOLVED] Converting quotes in auto action

7 years 11 months ago - 7 years 11 months ago #281869 by activha
Hello

For mail auto actions, it seems that we have the same problem as reported here : www.joomlapolis.com/forum/153-professional-member-support/233558-cb-content-bot-302-not-working?start=6

When inserting :
[cb:parse function="date" date-format="d-m-Y" offset="UTC"][var2_payment_date][/cb:parse]
The parse function is not triggered.
And when trying :
[cb:parse function="date" date-format="Y-m-d" time-format=" H:i:s" offset="UTC"]2015-01-13 16:22:43[/cb:parse]
in an editor, all quotes are converted to & quot ;

Same issue with
[cb:parse function="math"][var2_mc_gross]-[var2_tax][/cb:parse]

Could you apply the same fix as the post above ?

Thanks

Please Log in to join the conversation.

7 years 11 months ago - 7 years 11 months ago #281874 by krileon
Replied by krileon on topic Converting quotes in auto action
Stop converting the quotes. None of our parsers regexp handles encoded quotes. CB Auto Actions does not use editor fields so they won't be converted. The bug in the bots was an entirely different issue because you had no choice how the content was stored resulting in some with and without quotes encoded.

Please understand the proper substitution usage is to not encode the quotes. The bot fixes are purely workarounds for aggressive Joomla WYSIWYG editors.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

7 years 11 months ago #281882 by activha
Replied by activha on topic Converting quotes in auto action

Stop converting the quotes.

If we do this, we'll do it globally including front end with the editor used.
So would this bring other problems knowing that edition is allowed for all registered users ?

Please Log in to join the conversation.

7 years 11 months ago #281884 by krileon
Replied by krileon on topic Converting quotes in auto action
CB Auto Actions is not editable on frontend nor does it use the WYSIWYG in backend so it's not a problem for any of CB Auto Actions usages. Do not used escaped quotes for substitution usages. Escaped quotes have never been the appropriate substitution format. The bot usages are purely doing it as a workaround to overly aggressive WYSIWYG editors.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: activha

Please Log in to join the conversation.

7 years 11 months ago #281886 by activha
Replied by activha on topic Converting quotes in auto action
OK got it !

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.165 seconds

Facebook Twitter LinkedIn