Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1249567

Summary: Add or Remove input variables for WS operation not working correctly
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Andrej Smigala <asmigala>
Component: ToolingAssignee: Barry LaFond <blafond>
Status: CLOSED DEFERRED QA Contact: Andrej Smigala <asmigala>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: asmigala, atangrin, dlesage, mmakovy, vhalbert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When the user edits a web service model, clicking Add or Remove variables shows the Edit Input Variables editor with all the variables deselected. Selecting some of the variables adds them to the transformation, resulting in invalid SQL.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-05 08:35:41 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:

Description Andrej Smigala 2015-08-03 10:26:41 UTC
When editing a web service model, clicking Add or Remove variables shows the Edit Input Variables editor with all the variables deselected. Selecting some of the variables adds them to the transformation, resulting in invalid SQL.

Steps to reproduce:

# import the attached project
# double click the OrderCheckingWs in model explorer, the model editor will open
# click Add or Remove variables
# notice all variables are deselected
# select OrderDate, click OK
# save the model, the following validation error is shown:

ERROR: Variable VARIABLES.IN_OrderDate was previously declared.


Note that as a user checks/unchecks variables, the SQL transformation is trying to keep pace with the selections and isn't staying in sync. You can end up with multiple/duplicates. Expanding the tree shows that 2 of the 3 variables show as checked. But OrderDate is Not.

Comment 2 Barry LaFond 2015-08-07 13:35:41 UTC
Pushing to 9.0.4. Need more info to determine circumstances of the issue.

Comment 3 Barry LaFond 2015-09-10 16:48:44 UTC
pushing to next release.

Comment 4 Matus Makovy 2016-02-05 08:35:41 UTC
Closing this since we are tracking issues for tooling only in JIRA from now on.

Comment 5 Red Hat Bugzilla 2023-09-14 03:03:01 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days