1

I have an one-to-one relationship (hasOne in User domain and belongsTo in UserInfo domain). When the BootStrap is executing I get an exception:

org.compass.core.converter.ConversionException: Trying to marshall a null id [id] for alias [UserInfo]

this line of code produces it:

def user = new User(....., new UserInfo()).save()
j0k
  • 22,600
  • 28
  • 79
  • 90
rastko
  • 567
  • 9
  • 24

1 Answers1

1

According to Peter Ledbrook, this is a non-trivial conflict between Hibernate and Searchable: http://jira.grails.org/browse/GPSEARCHABLE-19

The solution is to turn off mirroring in the Searchable plugin and handle updating indexes manually.

Bob McCracken
  • 376
  • 1
  • 4
  • Thanks, I found a programmatic solution that is less scary than handling indexes myself. Thank you one more time! :) – rastko Nov 15 '12 at 13:30