Service URL path field length is limited to 128 characters. When attempting to save a service's settings with a URL longer than 128 characters, it gets trimmed. At admin/config/services/wsclient/manage/{service}
Can '#maxlength' be more than 128 characters?
$form['url'] = array(
'#type' => 'textfield',
'#title' => 'URL',
'#maxlength' => 4096, // <-- This needs to be much bigger than the default of 128 chars.
'#default_value' => $service->url,
'#required' => TRUE,
'#description' => t('The URL of the web service.'),
'#element_validate' => array('wsclient_ui_element_url_validate'),
);
Comments
Comment #1
klausiPlease describe the exact steps to reproduce this problem. Exact error message? SOAP or REST service? What path? Admin UI path?
Comment #2
klausiComment #3
bendiy commentedI'm running into a similar problem that I think is this issue. Updating to provide more info.
Comment #4
bendiy commentedAlso need to ALTER the table column. It defaults to VARCHAR(255).
Comment #5
pauloamgomes commentedSame happens when editing operation (REST) for Path value, since textfield is limited by default to 128 chars.