Hi,
I'm currently building a patron self registration form which adds the user
details to the database by calling open-ils.actor.patron.update. The patron is
correctly added and entries in actor.usr and actor.card are fine, but there is
no entry in actor.usr_address. I'm adding the details to a Fieldmapper object
for actor.usr, with a separate Fieldmapper object for actor.card and
actor.usr_address. The logs don't seem to shed any light on the problem. The
address object is as follows:
[
'MAILING', '<city>', <country>', '<county>', undef, '<postcode>',
'<state>', '<street1>', '<street2>', -1, 't', 't', undef, 'f'
], 'Fieldmapper::actor::user_address'
I'm adding both address and card objects to the usr object as follows:
$bor->addresses([$addr]); (I've tried both ([$addr]) and ($addr)
without success)
$bor->cards([$card]);
Does anyone have any idea where I'm going wrong? Any help is greatly
appreciated as this has been driving me mad for hours!
Regards
Mark