Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

data service class fails to compile when inherited property is used as finder parameter #100

Closed
3 of 4 tasks
aaporjr opened this issue Jul 27, 2018 · 1 comment
Closed
3 of 4 tasks

Comments

@aaporjr
Copy link

aaporjr commented Jul 27, 2018

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem uploaded to Github
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. create new grails app
  2. create an abstract class with one property
  3. create a domain model and extend class from step 2
  4. create data service class for domain model in step 3
  5. add one finder method using the property in step 2 as parameter
  6. run build

Expected Behaviour

build should be successful

Actual Behaviour

compilation error message thrown: Cannot implement finder for non-existent property [name] of class [sample.Employee]

Environment Information

  • Operating System: Mac OS High Sierra 10.13.4
  • Grails Version: 3.3.6
  • JDK Version: 1.8.0_171
  • Container Version (If Applicable):

Example Application

@aaporjr
Copy link
Author

aaporjr commented Jul 27, 2018

closing, wrong project, should be moved to grails-data-mapping

@aaporjr aaporjr closed this as completed Jul 27, 2018
jamesfredley pushed a commit that referenced this issue Feb 19, 2025
* Upgrade to Liquibase 3.10.1 (also liquibase-hibernate5)
     - Fixed tests by extracting changeLog part (Gradle verbose log causes polluted outputCapture)
     - Fixes GroovyChangeLogSpec if default JVM langauge is not en.
     - String comparisons are now done without spaces in tests
     - fixes #95 #100 #159
* Use openjdk8 in Travis
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant