| Summary: | When converting .xls to GDT, globals defined with short class names are converted to invalid Globals file | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | David Murphy <dmurphy> | ||||
| Component: | Business Central | Assignee: | manstis | ||||
| Status: | CLOSED EOL | QA Contact: | Tomas David <tdavid> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.2.0 | CC: | tdavid | ||||
| Target Milestone: | ER1 | ||||||
| Target Release: | 6.3.0 | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-03-27 19:12:17 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Verified with BRMS 6.3.0.ER1. |
Created attachment 1128622 [details] Decision table with global variable Description of problem: When converting .xls to GDT, globals defined with short class names are converted to invalid Globals file. Using the .xls directly, the generated drl contains both the import and the global definition, and thus compiles fine. However, after conversion, the GDT contains the import, and the Globals file contains the global definition with the short class name. This fails validation. How reproducible: Always Steps to Reproduce: 1. Create a .xls decision table which imports java.util.List (see attached) 2. Add a global with type List 3. Import .xls into business-central 4. Convert to Guided Decision Table 5. Open generated Globals Definition 6. Click "validate" Actual results: Validation Error: Unable to find class 'List' Expected results: Globals file passes validation Additional info: The project will build/deploy successfully, however attempting to use it will result in GlobalError: list : Unable to find class 'List' at runtime