Error (no data) when editing customer user

Moderator: crythias

Locked
benoitm
Znuny newbie
Posts: 34
Joined: 21 Mar 2011, 10:22
Znuny Version: 3.0.6

Error (no data) when editing customer user

Post by benoitm »

Hi again !

When i go to "customers" in otrs, I see my php created customers, and in my database, all customer_user fields are filled for this customer BUT when I click on this customer (for example in right column in one of his ticket), otrs go to edit client page but all the fiel are empty ! As if OTRS have no info about this customer :(

Can you help me? It's verry ennoying

EDIT : here is my php code to create user (that is inside function which is inside a class), repeat in OTRS database all seems to be ok

Code: Select all

$otrs_user_login = $this->soapclient->__soapCall("Dispatch", array($this->user, $this->pass,
			"CustomerUserObject", "CustomerUserAdd",
			"Source",    'CustomerUser', # CustomerUser source config
			"UserFirstname", utf8_encode($c_infos['customers_firstname']),
			"UserLastname",  utf8_encode($c_infos['customers_lastname']),
			"UserCustomerID",  utf8_encode($c_infos['customers_id']),
			"UserLogin",  	utf8_encode($rdmLogin),
			"UserEmail",  	utf8_encode($c_infos['customers_email_address']),
			"UserPhone", 	utf8_encode($c_infos['customers_telephone']),
			"UserFax",		utf8_encode($c_infos['customers_fax']),
			"UserMobile",	utf8_encode($c_infos['customers_telephone']),
			"UserStreet",  	utf8_encode($c_address['entry_street_adress']),
			"UserZip", 		utf8_encode($c_address['entry_postcode']),
			"UserCity",  	utf8_encode($c_address['entry_city']),
			"UserCountry",  utf8_encode($pays),
			"ValidID", 1,
			"UserID", 1,
));
Locked