sonarQuest icon indicating copy to clipboard operation
sonarQuest copied to clipboard

Enabling the admin for a world results in an exception

Open aiakide opened this issue 5 years ago • 2 comments

When the admin is activated for a world, the following exception occurs.

Caused by: java.lang.IllegalStateException: Multiple representations of the same entity [com.viadee.sonarquest.entities.Level#2] are being merged. Detached: [com.viadee.sonarquest.entities.Level@3f24c92]; Detached: [com.viadee.sonarquest.entities.Level@10ff72c0]

aiakide avatar May 09 '19 15:05 aiakide

I can reproduce it, but this is not serious imO as the administrator rarely actively plays in a world.

Christoph-Meyer avatar May 10 '19 06:05 Christoph-Meyer

Code to look into here is at com.viadee.sonarquest.services.UserService.save(UserService.java:130)

Christoph-Meyer avatar May 10 '19 06:05 Christoph-Meyer