method's args type mismatch while in service browser

priyatosha - September 2, 2009 - 18:08
Project:Services
Version:6.x-0.15
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

There is no type casting of method's args while testing it in Service Browser. For example, if argument defined as 'int' type, it will pass as 'string' to the method (as default for textfield for form submission).

If there are few args (all optional), then omitted one before any given arg will become empty 'string' as well, regardless of their actual type. That which are omitted after any provided arg will remain null as expected.

 
 

Drupal is a registered trademark of Dries Buytaert.