Foros de discusión

User information is lost

Michael Gentzsch, modificado hace 11 años.

User information is lost

Junior Member Mensajes: 29 Fecha de incorporación: 6/11/07 Mensajes recientes
Hello,

we have a strange problem. In the user administration, if we change detail information of a user, it happens that the address or phone data are lost.

Any idea on this issue?

Kind regards

M. Gentzsch

Liferay 6.0.6.
JBoss 4.3.0
thumbnail
David H Nebinger, modificado hace 11 años.

RE: User information is lost

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
Is it really lost? Have you tried re-indexing the indexes and see if the info is updated?
Michael Gentzsch, modificado hace 11 años.

RE: User information is lost

Junior Member Mensajes: 29 Fecha de incorporación: 6/11/07 Mensajes recientes
The data is lost. Even if I re-index the indexes.
thumbnail
David H Nebinger, modificado hace 11 años.

RE: User information is lost

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
Okay, are you by chance doing LDAP import for your users but have not enabled LDAP export?
Michael Gentzsch, modificado hace 11 años.

RE: User information is lost

Junior Member Mensajes: 29 Fecha de incorporación: 6/11/07 Mensajes recientes
We aren't using LDAP.

Maybe it helps, we change the property "ehcache.blocking.cache.allowed" to false
thumbnail
David H Nebinger, modificado hace 11 años.

RE: User information is lost

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
The two easy options covered...

Okay, when you are updating the information, do you get any errors or feedback in the logs?
Michael Gentzsch, modificado hace 11 años.

RE: User information is lost

Junior Member Mensajes: 29 Fecha de incorporación: 6/11/07 Mensajes recientes
You just see the the information that your action is successfully completed in the GUI. No errors in the log. Maybe I have to configure a log?
thumbnail
David H Nebinger, modificado hace 11 años.

RE: User information is lost

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
No, if there were errors they would display (only debugging-level stuff is normally hidden).
Michael Gentzsch, modificado hace 11 años.

RE: User information is lost

Junior Member Mensajes: 29 Fecha de incorporación: 6/11/07 Mensajes recientes
My opinion is, that it is an error in the caching system of Liferay. Could the ehcache-configuration be the problem?
thumbnail
David H Nebinger, modificado hace 11 años.

RE: User information is lost

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
Possibly. You could try undoing the cache property setting you've done and see if the information saves...
Michael Gentzsch, modificado hace 11 años.

RE: User information is lost

Junior Member Mensajes: 29 Fecha de incorporación: 6/11/07 Mensajes recientes
But we need this property configuration. It prevents locks in the database after changing user data. I will try it.
thumbnail
David H Nebinger, modificado hace 11 años.

RE: User information is lost

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
Er, that's not correct...

The blocking cache uses locks in the cache, not in the database. As long as you don't have your own stuff interfering w/ the ehcache stuff, the Liferay caching should be fine and operate correctly.

Re-read the comment from portal.properties for the ehcache.blocking.cache.allowed for more info.
Michael Gentzsch, modificado hace 11 años.

RE: User information is lost

Junior Member Mensajes: 29 Fecha de incorporación: 6/11/07 Mensajes recientes
We have found a lot of JIRA entries which are similar to our problems, but we can't find the changes to fix it or get a hint what the the problems is.

http://issues.liferay.com/browse/LPS-12954
http://issues.liferay.com/browse/LPS-12563