v.2.8.3 Created by in email sending rules and list of records by mysql

Post Reply
User avatar
marijan
Posts: 281
Joined: 06 Dec 2018, 04:52
Name: Marijan Grijakovic
Location: Skopje

v.2.8.3 Created by in email sending rules and list of records by mysql

Post by marijan »

Dear Sergey,

In email sending rules I have a field [created_by] and until version 2.8.2 was ok and it showing name of created_by,
now with version 2.8.3 in email sending rules when email is received it show id number of created_by not name as before.

Same thing happens in record with field type list of records by mysql query - it show id of created by not name as before

Please can you fix that

Thanks
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: v.2.8.3 Created by in email sending rules and list of records by mysql

Post by support »

Give me steps how to reproduce.
User avatar
marijan
Posts: 281
Joined: 06 Dec 2018, 04:52
Name: Marijan Grijakovic
Location: Skopje

Re: v.2.8.3 Created by in email sending rules and list of records by mysql

Post by marijan »

Dear Sergey,

I found that problem is in file /includes/classes/fieldstypes/fieldtype_text_pattern.php
When I replace this file from version 2.8.2 then problem is resolved.

Let me explaind what happens,
here is config of field - list of records by MySql :
Screenshot_103.png
and with file from version 2.8.2 results in list of records is as you can see with user name surname:
Screenshot_101.png
Screenshot_101.png (1.93 KiB) Viewed 329 times
but with file from version 2.8.3 there is only id of user:
Screenshot_102.png
Screenshot_102.png (2.38 KiB) Viewed 329 times
Also with email sending rules, here is Message text rules:
Screenshot_104.png
Screenshot_104.png (6.5 KiB) Viewed 329 times
and when mail is sent with file from version 2.8.2 results are ok as you can see:
Screenshot_100.png
Screenshot_100.png (4.86 KiB) Viewed 329 times
but with file from version 2.8.3 results is not ok and show only user id:
Screenshot_99.png
Screenshot_99.png (4.42 KiB) Viewed 329 times
Here is a difference in file but you know that :)
Screenshot_105.png

Hope that this will help you to quck solve problem.

Regards,
Marijan
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: v.2.8.3 Created by in email sending rules and list of records by mysql

Post by support »

I see. New rules that I have added conflicted with exist one. Use attached file and this should works ok.
Attachments
fieldtype_text_pattern.zip
(3.33 KiB) Downloaded 79 times
User avatar
marijan
Posts: 281
Joined: 06 Dec 2018, 04:52
Name: Marijan Grijakovic
Location: Skopje

Re: v.2.8.3 Created by in email sending rules and list of records by mysql

Post by marijan »

Problem is solved.

Thanks a lot Sergey
Post Reply