Bug 859108 - yawn is showing output parameters in input parameters
Summary: yawn is showing output parameters in input parameters
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yawn
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Minar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-20 14:57 UTC by Roman Rakus
Modified: 2014-01-13 00:14 UTC (History)
3 users (show)

Fixed In Version: yawn-0-0.12.20121115svn606.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-23 08:02:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Roman Rakus 2012-09-20 14:57:30 UTC
Description of problem:
When trying to invoke a method yawn is showing output parameters in the upper side along with input parameters. The previous version of yawn was showing output parameters only on the bottom side.

Version-Release number of selected component (if applicable):
yawn-0-0.10.20120917svn593.fc18.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install cura-providers >= 0.0.4-1
2. Try to invoke method CreateAccount on Instance LMI_AccountManagementService
3. 
  
Actual results:
`table id="in_params" class="in params' contains output parameters

Expected results:
...contains only input parameters

Additional info:
I will not create another 2 bugs, so in short:
1) There is:
Invoke method LMI_AccountManagementService on Instance
but should be:
Invoke method LMI_AccountManagementService::CreateAccount()

2) Looks like yawn is incorrectly creating xml; when some parameter is not required yawn should not pass it. In other words, the parameters is not required, but yawn will pass empty string. It is not good. Looks like it is doing that only for string argument types.

Comment 1 Fedora Update System 2012-11-15 14:34:06 UTC
yawn-0-0.12.20121115svn606.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/yawn-0-0.12.20121115svn606.fc18

Comment 2 Fedora Update System 2012-11-15 20:05:40 UTC
Package yawn-0-0.12.20121115svn606.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yawn-0-0.12.20121115svn606.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-18292/yawn-0-0.12.20121115svn606.fc18
then log in and leave karma (feedback).

Comment 3 Michal Minar 2012-11-16 13:31:30 UTC
(In reply to comment #0)
> 2) Looks like yawn is incorrectly creating xml; when some parameter is not
> required yawn should not pass it. In other words, the parameters is not
> required, but yawn will pass empty string. It is not good. Looks like it is
> doing that only for string argument types.

This is now solved by adding a ``NULL'' checkbox before every string or reference input, that corresponds to every non-required and non-key property. Allows user to specify, whether to send the contents of input field or nothing at all.

Comment 4 Fedora Update System 2012-11-23 08:02:35 UTC
yawn-0-0.12.20121115svn606.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.