Data services: Values of 'with-param/@name' and 'query-param' are swapped when
modifying an operation
-----------------------------------------------------------------------------------------------------
Key: WSAS-657
URL: http://wso2.org/jira/browse/WSAS-657
Project: WSO2 WSAS
Issue Type: Bug
Components: data-services
Affects Versions: Nightly
Environment: winxp, jdk15, Firefox2.0.0.9
Reporter: Charitha Kankanamge
Assigned To: Saminda Wishwajith Abeyruwan
Priority: Critical
Steps to reproduce:
===============
Pre-requisite:- you should have a query with input mapping
1. In an existing data service, navigate to step 3 of the wizard
2. Click on Add New operation
3. 'Add New Operation' pop up window will be displayed
4. Enter an operation name
5. Select the query with input mapping
6. Enter a value for input text of the 'operation parameter mappings'
eg:- value1
7.Now you will see a config as follows.
<operation name="wsastest">
<call-query href="employeeCity">
<with-param name="value1" query-param="qparam" />
</call-query>
</operation>
8. Next, click on 'Edit' icon of the new operation
9. 'Edit Operation' pop up window will be displayed
10. Change the value1 (eg:- changedvalue1)
11. Click ok
12. Now check the configuration again
<operation name="wsastest">
<call-query href="employeeCity">
<with-param name="changedvalue1" query-param="value1" />
</call-query>
</operation>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev