]> git.evergreen-ils.org Git - Evergreen.git/commit
Fix IDL and OU setting check for staged users
authorJeff Godin <jgodin@tadl.org>
Tue, 29 May 2012 14:28:50 +0000 (10:28 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 2 Aug 2013 14:40:42 +0000 (10:40 -0400)
commit7f04ee6f56bebc747fdaf0b3cce5febec57fdba7
tree914bc89add9dd0991dfe21352a4c48420d230872
parent72e2f9378361f990636e025d96b43e80a7967f50
Fix IDL and OU setting check for staged users

The IDL had references to sequences that do not exist:

staging.usr_stage_row_id_seq -- a typo, fixed

In the case of staging.billing_address_stage_row_id_seq, the
staging.billing_address_stage table is created with LIKE,
and uses the sequence staging.mailing_address_stage_row_id_seq

The OU setting check for the open-ils.actor.user.stage.create API
call was not passing an org unit, and would always fail.

We now pass the home_ou of the user being staged.

At this point, the opac.allow_pending_user OU setting type must
be manually created before its value can be set.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/Stage.pm