Foros de discusión

Chat portlet: "new-message-from-x" notification

Tom W, modificado hace 10 años.

Chat portlet: "new-message-from-x" notification

New Member Mensajes: 10 Fecha de incorporación: 16/08/13 Mensajes recientes
Hi

We are having small troubles with chat portlet. We are using Liferay 6.2 CE GA1, tomcat bundle. The portlet is updated to new version.

New message browser notifications work properly only after chat portlet is "freshly" updated. They stop after tomcat service is rebooted.

By properly I mean notifications display " New message from "user name" "(e.g. "New message from Alan") and then content of a message. They work like that after chat portlet is updated. When service is stopped and started again new message notification changes to
"new-message-from-x" where x is not a user name is just x (it's supposed to be username, but this is not displayed).

Does anyone know how to fix this? Is there a problem with our configuration?

Thanks
Kevin Mui, modificado hace 10 años.

RE: Chat portlet: "new-message-from-x" notification

New Member Mensajes: 6 Fecha de incorporación: 16/05/11 Mensajes recientes
Tom W:
Hi

We are having small troubles with chat portlet. We are using Liferay 6.2 CE GA1, tomcat bundle. The portlet is updated to new version.

New message browser notifications work properly only after chat portlet is "freshly" updated. They stop after tomcat service is rebooted.

By properly I mean notifications display " New message from "user name" "(e.g. "New message from Alan") and then content of a message. They work like that after chat portlet is updated. When service is stopped and started again new message notification changes to
"new-message-from-x" where x is not a user name is just x (it's supposed to be username, but this is not displayed).

Does anyone know how to fix this? Is there a problem with our configuration?

Thanks



Same version, and same problem. Also, checking off "Enabled desktop notifications..." is un-checkable after enabling and reloading the browser.
thumbnail
Frederik Voordeckers, modificado hace 9 años.

RE: Chat portlet: "new-message-from-x" notification

New Member Mensajes: 2 Fecha de incorporación: 20/03/14 Mensajes recientes
Tom W:
Hi

We are having small troubles with chat portlet. We are using Liferay 6.2 CE GA1, tomcat bundle. The portlet is updated to new version.

New message browser notifications work properly only after chat portlet is "freshly" updated. They stop after tomcat service is rebooted.

By properly I mean notifications display " New message from "user name" "(e.g. "New message from Alan") and then content of a message. They work like that after chat portlet is updated. When service is stopped and started again new message notification changes to
"new-message-from-x" where x is not a user name is just x (it's supposed to be username, but this is not displayed).

Does anyone know how to fix this? Is there a problem with our configuration?

Thanks



Hi,

It's because the Chat Portlet used to be included in the Social Office Portlet. All the language keys are bundled there. You can find the language files here: https://github.com/liferay/liferay-plugins/tree/master/portlets/so-portlet/docroot/WEB-INF/src/content

To solve the problem you can copy these language files into the content folder of your own hook. This will make te keys available for your portlet.

Regards,