Uploaded image for project: 'Rave'
  1. Rave
  2. RAVE-1281

Data import for MongoDB fails for people

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.24
    • None
    • rave-core, rave-mongodb
    • None

    Description

      When using the the dataImporter bean to initialize the database from a static file during integration tests, I'm seeing a failure with the following cause:

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataImporter': Invocation of init method failed; nested exception is org.springframework.data.mapping.model.MappingException: Attempt to add id property protected java.lang.String org.apache.rave.portal.model.impl.PersonImpl.id but already have property private java.lang.String org.apache.rave.portal.model.impl.UserImpl.id registered as id. Check your mapping configuration!
      

      This appears to only be an issue when using MongoDB and only with certain versions of org.springframework.data.mongodb. 1.1.2.RELEASE exhibits the problem while 1.0.3.RELEASE does not. The specific error is related to DATAMONGO-465

      Attachments

        Activity

          People

            Unassigned Unassigned
            ssievers Stanton Sievers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: