Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.

Fix ignore test from DynamicReportsServiceSpec #11

Open
snimavat opened this issue Apr 17, 2019 · 0 comments
Open

Fix ignore test from DynamicReportsServiceSpec #11

snimavat opened this issue Apr 17, 2019 · 0 comments

Comments

@snimavat
Copy link
Contributor

The test started failing with 3.3.9
The issue seems to have some thing to do with the metaclass
Bills.customer field is not being recognized as Association by gorm.

That is because the ClassPropertyFetcher.getMetaProperties does not have the Customer in returned list.

It has some thing to do with groovy meta class and CachedClass

for Bills
theMetaClass.getProperties() does not have a property in the list returned — even though it exists in class. But Doing theMetaClass.theClass.getDeclaredFields() contains the field though.

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