My activity stream - the account name missing

We have a logic hook and subpanel for cases in the opportunity module.

So, when user creates a case from the subpanel. It displays the record in the My Activity Stream dashlet, but it does not display the account name(or link).

Admin created a new case Test for :

How to fix it?

Does anyone know how get that account name in the my activity stream?

It works fine for me. I set up one-to-many relationship with cases modules. I added a new case from the opportunity subpanel. It displayed the correct details in activity stream.
image

Could you please help with steps to reproduce the issue. Thanks!

Yes, it is same process like you.

I checked the elements in the console. It is not displaying record id for account for my activity stream.

<a href="index.php?module=Accounts&amp;action=DetailView&amp;record="><img src="folder/img/images/Accounts.gif" border="0" alt="View Account"></a> ": "

You can see in the above line record = " and even account name after /a tag is missing.