Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1050

SolrSearch: The method message_getId() is undefined

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Complete
    • 1.1.0.M2
    • 1.1.0.M2
    • @ CORE
    • None

    Description

      project --topLevelPackage some.solr.test
      persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
      entity --class ~.domain.Message
      field string name --notNull
      solr setup
      solr add --class some.solr.test.domain.Message
      perform tests

      fails with: error at sid.addField("id", "message_" + message_getId());

      The fix this edit Message_Roo_SolrSearch.aj and change:

      sid.addField("id", "message_" + message_getId());

      to

      sid.addField("id", "message_" + message.getId());

      Attachments

        Activity

          People

            sschmidt Stefan Schmidt
            andams An Dams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: