Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such property: prefix<Domainclassname><fieldname> for class: org.grails.core.DefaultGrailsDomainClassProperty at currentCriteria #79

Open
FalkNisius opened this issue Jan 19, 2018 · 0 comments

Comments

@FalkNisius
Copy link

filterpane version 3.08
grails version 3.2.10

I set the filter in the index method of the controller programmatically with per example

params.updateNestedKeys(["filter.op.organization.name": "Equal", "filter.organization.name": organization.name])

it works fine without the tag filterpane:currentCriteria. If I cut this gsp tag, show the index page, and put the gsp tag in, it works if the gsp is new compiled.

the cause is that in filterPaneTagLib line 935 the non exiting sp?."${prefixMethod}" would be tested in the if clause instead to sue standard groovy sp.metaClass.respondsTo(sp,"${prefixMethod}") what prevents the error.

can it be fixed?

or is there a better way to overwrite/add default filter.

By the way in this version always use of GrailsDomainBinder failed with: Could not find matching constructor for: org.grails.orm.hibernate.cfg.GrailsDomainBinder()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant