View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Error using email template w/ "origin" field - ProjeQtOr
 
 

Error using email template w/ "origin" field

More
24 Sep 2021 16:57 - 24 Sep 2021 16:59 #1 by Jiler
Hello,

I've setup an email template on Invoices with several fields, including "Origin" of the invoice : ${Origin}.
When trying to send an email using this template, ProjeQtOr throw an error :
 

Log file :

2021-09-21 15:21:17.781 ***** ERROR ***** [V9.2.3] on file '/opt/projeqtor/model/persistence/SqlElement.php' at line (6933)
2021-09-21 15:21:17.781 ***** ERROR ***** [V9.2.3] cause = Object of class Origin could not be converted to string
2021-09-21 15:21:17.781 ***** ERROR ***** [V9.2.3] => #0 /opt/projeqtor/model/persistence/SqlElement.php (6933) -> preg_replace_callback()
2021-09-21 15:21:17.781 ***** ERROR ***** [V9.2.3] => #1 /opt/projeqtor/model/persistence/SqlElement.php (5851) -> getMailDetailFromTemplate()
2021-09-21 15:21:17.781 ***** ERROR ***** [V9.2.3] => #2 /opt/projeqtor/tool/sendMail.php (247) -> sendMailIfMailable()


When removing the ${Origin} field, everything works fine.
Attachments:
Last edit: 24 Sep 2021 16:59 by Jiler. Reason: Fix picture

Please Log in or Create an account to join the conversation.

More
24 Sep 2021 19:03 #2 by babynus
Issue confirmed
Ticket #5722 recorded

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.040 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.