"Generate Objects" in the "View Objects" Screen Creates Invalid Groovy Classes
Last updated on APRIL 24, 2018
Applies to:Oracle Health Insurance Authorizations - Version 184.108.40.206.0 and later
Oracle Health Insurance Claims Adjudication - Version 220.127.116.11.0 and later
Oracle Health Insurance Product Definition - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
"Generate Objects" in the View Objects screen creates invalid Groovy classes. There are no OHI specific errors, but lots of Java/groovy errors in the resulting classes.
The issue can be reproduced at will with the following steps:
1. Log to OHI Authorizations and navigate to the View Objects page.
2. Click on "Generate Objects" and save the file "metamodel.zip" to disk.
3. Extract the files from metamodel.zip and include them in a Groovy project in an IDE, e.g., NetBeans.
4 Open a class, e.g., Authorizations.groovy, and observe the errors.
The issue has the following business impact: Developing and testing of dynamic logic can currently only be done in a "live" environment, i.e., in an environment where multiple developers are working. Additionally, a test is sometimes very complicated as a new Authorization has to be entered and processed. Using the classes generated by the application greatly simplifies testing (and debugging).
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms