Searchable Plugin
  1. Searchable Plugin
  2. GPSEARCHABLE-28

IllegalArgumentException in ClosureSearchableGrailsDomainClassCompassClassMapper: property with custom converter not mappable

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.1
    • Fix Version/s: 0.6.1
    • Labels:
      None
    • Environment:
      win xp

      Description

      A missing custom converter causes an IllegalArgumentException in the ClosureSearchableGrailsDomainClassCompassClassMapper.
      My custom converter is available in EnvironmentSearchableCompassConfigurator but not used for converter lookup. I think it's because
      the SearchableGrailsDomainClassCompassClassMapperFactory creates a new dummy config to get the converterlookup.

      Did I miss something or is it a bug/not yet implemented feature?

        Activity

        Hide
        Peter Ledbrook added a comment -

        Please attach a reproducible example so I can look into this.

        Show
        Peter Ledbrook added a comment - Please attach a reproducible example so I can look into this.
        Hide
        Damir Murat added a comment -

        Here is sample app. Just run it, and it will fail at bootstrap.

        I've somehow managed to find ugly fix for the issue. It is also attached. For a fix to work, joda-time-1.6.jar have to be added in searchable/lib.

        Show
        Damir Murat added a comment - Here is sample app. Just run it, and it will fail at bootstrap. I've somehow managed to find ugly fix for the issue. It is also attached. For a fix to work, joda-time-1.6.jar have to be added in searchable/lib.
        Hide
        Peter Ledbrook added a comment -

        Fixed by commit d86710d1d2bec3444d16.

        Show
        Peter Ledbrook added a comment - Fixed by commit d86710d1d2bec3444d16 .

          People

          • Assignee:
            Peter Ledbrook
            Reporter:
            Joern Voelker
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: