Long story short: after update from 5.0.10 to 5.0.18 (keeping settings and DB) , I do not have customerID mapped to e-mail for a person who sends the ticket via mail.
We have 2 rules - one to map user with customer that does work correctly like it was working in 5.0.10
Second one is basic - mapping e-mail address to customerID and this one is not working since update.
I cannot find any issues in logs or configuration both on interface or config.pm
I saw there was a bug with that but on version .14 and it was fixed.
I'm a little bit confused especially it did work before.
Below fragment of the config.pm :
Code: Select all
# customer unique id
CustomerKey => 'uid',
# customer #
CustomerID => 'XXXOtrsCustomerId',
CustomerID => 'mail',
CustomerUserListFields => ['cn', 'mail'],
CustomerUserSearchFields => ['uid', 'cn', 'mail'],
CustomerUserSearchPrefix => '',
CustomerUserSearchSuffix => '*',
CustomerUserSearchListLimit => 1000,
CustomerUserPostMasterSearchFields => ['mail'],
CustomerUserNameFields => ['givenname', 'sn'],
# show not own tickets in customer panel, CompanyTickets
CustomerUserExcludePrimaryCustomerID => 0,
# add an ldap filter for valid users (expert setting)
CustomerUserValidFilter => '(accountEnabled=TRUE)',
# administrator can't change customer preferences
AdminSetPreferences => 0,
Map => [
# note: Login, Email and CustomerID are mandatory!
# var, frontend, storage, shown (1=always,2=lite), required, storage-type, http-link, readonly
[ 'UserTitle', 'Title', 'title', 1, 0, 'var', '', 0 ],
[ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var', '', 0 ],
[ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var', '', 0 ],
[ 'UserLogin', 'Username', 'uid', 1, 1, 'var', '', 0 ],
[ 'UserEmail', 'Email', 'mail', 1, 1, 'var', '', 0 ],
[ 'UserCustomerID', 'CustomerID', 'XXXOtrsCustomerId', 0, 1, 'var', '', 0 ],
[ 'UserCustomerIDs', 'CustomerIDs', 'XXXOtrsCustomerIdSupp', 1, 0, 'var', '', 0 ],
[ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var', '', 0 ],
[ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var', '', 0 ],
[ 'UserComment', 'Comment', 'description', 1, 0, 'var', '', 0 ],
],
};