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

SolrSearch: The method message_getId() is undefined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.0.M2
    • Fix Version/s: 1.1.0.M2
    • Component/s: @ CORE
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: