gpc / fields

a spiritual successor to the bean-fields plugin
http://gpc.github.io/fields/
84 stars 104 forks source link

FormFieldsTagLib: MissingProperty propertyName for class HibernatePersistentEntity #245

Closed SukramJ closed 7 years ago

SukramJ commented 7 years ago

Hi,

i' am using grails 3.3.0, hibernate 5.2.11, gorm 6.1 and files plugin version 2.2.2:

I get this exception when opening a GSP Page

groovy.lang.MissingPropertyException: No such property: propertyName for class: org.grails.orm.hibernate.cfg.HibernatePersistentEntity at grails.plugin.formfields.FormFieldsTagLib.renderOneToManyInput(FormFieldsTagLib.groovy:756) at grails.plugin.formfields.FormFieldsTagLib.renderDefaultInput(FormFieldsTagLib.groovy:598) at grails.plugin.formfields.FormFieldsTagLib.renderWidget(FormFieldsTagLib.groovy:422) at grails.plugin.formfields.FormFieldsTagLib$_closure3.doCall(FormFieldsTagLib.groovy:193) at org.grails.gsp.GroovyPage.invokeTagLibClosure(GroovyPage.java:446) at org.grails.gsp.GroovyPage.invokeTag(GroovyPage.java:364)

SukramJ commented 7 years ago

Same issue with Hibernate 5.1.5.

SukramJ commented 7 years ago

Issue fixed with version 2.2.3.

Thanks a lot

Agraphie commented 6 years ago

Hi,

I'm having the same error with grails 3.3.2, hibernate 5.2.12, gorm 6.1 and fields plugin 2.2.3. Is there a solution which you applied apart from upgrading the fields plugin?