Hello.
I have the following problem with Epesi 1.6.5 and don't know how to debug it any further:
When I open a page with contact tooltips (e.g. Meetings->Employee) and hover over it with the mouse I get the correct tooltip information for the contact.
If I wait before opening the tooltip (Base/Notify/refresh.php is called every couple of seconds and triggers the bug) I get information of some other record in a different module (e.g. Task).
(You need at least one entry in your open watchdog list to trigger this or more exactly one open entry for the first tooltip on the page to be affected, two for the first two....)
I traced the problem to the following:
$_SESSION['client']['utils_tooltip']['callbacks'] contains the tooltip information for the current page. After opening the page the information in the array is correct.
Now refresh.php calls watchdog_label() for every item in the watchdog list. And e.g. CRM_TasksCommon::watchdog_label() just calls Utils_RecordBrowserCommen::watchdog_label which overwrites the information in $_SESSION via self::create_default_record_tooltip_ajax()->Utils_TooltipCommon:ajax_create().
Is this a known problem? Why does refresh generate labels and tooltips for the watchdog entries even if they are not visible on screen?
Thank you for your help,
Lars