Bug 1249077
| Summary: | Guided Editor rewrites method call in RHS to a setter call | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Anton Giertli <agiertli> | ||||
| Component: | Business Central | Assignee: | manstis | ||||
| Status: | CLOSED EOL | QA Contact: | Jiri Locker <jlocker> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.1.0 | CC: | alazarot, jlocker, kverlaen | ||||
| Target Milestone: | ER3 | ||||||
| Target Release: | 6.2.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1249481 (view as bug list) | Environment: | |||||
| Last Closed: | 2020-03-27 19:05:55 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: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1249481 | ||||||
| Attachments: |
|
||||||
Created attachment 1058054 [details]
[0] Customer's description
Customer provided description which explains the necessary steps in details.
Verified in ER4. |
Description of problem: When using Guided Decision Table Editor in business-central, it is possible to select "Call Method" feature in the RHS, which will allow you to select a method call on the fact variable. If you select a method which accepts multiple parameters, after re-opening this method call, the guided editor will split this single method call to multiple method call, and mark every one of them as a setter. i.e. fact.add("v","w") -> will become this: fact.setAdd("v"); fact.setAdd("w"); Version-Release number of selected component (if applicable): BRMS, BPMS 6.1 How reproducible: always Steps to Reproduce: 1. Create fact model and add a method which accepts multiple parameters and it is not a setter (i.e. some add method) 2. Create guided decision table, and configure RHS with a method call on a fact - select a method with multiple parameters which you have created in a first step. 3. After re-opening the configuration created in step 2, the method call will be deformed as described in the initial description. Actual results: When configuring method call which accepts multiple parameters, it will be rewritten by the Guided Editor to a multiple calls of setter method i.e. fact.add("v","w") -> will become this: fact.setAdd("v"); fact.setAdd("w"); Expected results: It is possible to add fragment in RHS via "Call Method" feature, which will allow you to configure method call which accepts multiple parameter. Additional info: