留言板
RE: Adding a user programatically
Which Liferay version are you using? Liferay 6.2? Liferay 7? Which GA version are you using?
The root issue of your problem is the record in users_groups table with -1 groupId
If you create a user from Liferay interface, is everything ok in users_groups table?
You have to investigate the code that is inserting the "-1" groupId, try debugging Liferay code.
The root issue of your problem is the record in users_groups table with -1 groupId
If you create a user from Liferay interface, is everything ok in users_groups table?
You have to investigate the code that is inserting the "-1" groupId, try debugging Liferay code.