[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 214: htmlspecialchars(): charset `1' not supported, assuming utf-8
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 216: htmlspecialchars(): charset `1' not supported, assuming utf-8
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 87: htmlspecialchars(): charset `1' not supported, assuming utf-8
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 129: htmlspecialchars(): charset `1' not supported, assuming utf-8
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 130: htmlspecialchars(): charset `1' not supported, assuming utf-8
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1685: htmlspecialchars(): charset `1' not supported, assuming utf-8
PROMOTIC FORUM • View topic - AlarmGroup - 'Displayed group name'

AlarmGroup - 'Displayed group name'

In this forum, you can report bugs, post suggestions for improvements and add other topics.

AlarmGroup - 'Displayed group name'

Postby roman66 » Mon 02. Sep 2024 12:23:54

Hi,
Problems only with showing in Alarm panel, calling with default Toolbar button 'ALARMS' in local and web client.
if i put in AlarmGroup - 'Displayed group name' field any word - its showing correctly.
If i put makro: $.expr("pMe.Parent.Name") - in Alarm panel shows expr.err.

in client 'Info window' expression showing correctly.
Attachments
displayedGroupName.jpg
displayedGroupName.jpg (25.96 KiB) Viewed 2445 times
newbie
PM 9.0.28.0 64bit
roman66
 
Posts: 14
Joined: Tue 09. Jul 2024 12:07:38

Re: AlarmGroup - 'Displayed group name'

Postby Tomáš Bräuer » Tue 17. Sep 2024 8:30:20

Hi,
sorry for late answer because of my holiday.
You are right, the macro expression in this one configurator Displayed name (Title) has several internal uses.
And in one of them (in method Pm.FindViewers) the parameter pMe was not allowed.
This omission is there since the very beginning of this method (Promotic 8.0.0 , 15 years ago).
Nobody noticed because most common use of this Displayed name configurator is macro expression containing $.text not $.expr.

But definitely an omission. I already fixed it and it will be in the next release of Promotic 9.0.30 but the next version is planned in a few months.
If you need this fix immediately, contact me with email, we would be able to send you a testing version with this fix.

Thank You for finding an error!
Tomáš Bräuer
Administrátor
 
Posts: 164
Joined: Thu 13. Dec 2012 9:13:13


Return to Bugreports, suggestions for improvements, other...

Who is online

Users browsing this forum: No registered users and 1 guest

cron