[rt-users] rt2-to-rt3 problem
Andrey Vovk
vovk at ncbi.nlm.nih.gov
Thu Aug 5 16:02:45 EDT 2004
Thanks Harald,
I've found the culprit. The problem was caused by wrong parameters for
CanonicalizeEmailAddress in etc/RT_SiteConfig.pm:
Set($CanonicalizeEmailAddressMatch , '(.*).ncbi.nlm.nih.gov$');
Set($CanonicalizeEmailAddressReplace , 'ncbi.nlm.nih.gov');
as the result all addresses <name>@ncbi.nlm.nih.gov were replaced
by 'ncbi.nlm.nih.gov' after the very first one had been imported.
The correct form is something like:
Set($CanonicalizeEmailAddressMatch , '\@(.*)ncbi.nlm.nih.gov$');
Set($CanonicalizeEmailAddressReplace , '\@ncbi.nlm.nih.gov');
Here is a patch for dumpfile-to-rt-3.0, which should simplify
diagnosis for problems like mine:
*** dumpfile-to-rt-3.0 Thu Aug 5 14:39:43 2004
--- dumpfile-to-rt-3.0-new Thu Aug 5 14:42:59 2004
***************
*** 753,758 ****
--- 753,759 ----
unless ( $user_obj->Id ) {
my ( $uid, $umsg ) = $user_obj->Create( %{$user} );
+ print "\nError:" . $umsg ."\n" unless ($uid);
}
my $id = $user_obj->Id();
print "Failed to create user for" . scalar Dumper $user unless ($id);
On Thu, Aug 05, 2004 at 04:36:29PM +0200, Harald Wagener wrote:
>
> Am 04.08.2004 um 18:14 schrieb Andrey Vovk:
> >
> >...
> >.t-1684
> >Failed to create user 'somebody at ncbi.nlm.nih.gov': Email address in use
> >.t-8597
> >...
> >
>
> You need to consolidate Your user information. email addresses must be
> unique for all accounts in the RT user database.
>
> Regards,
> Harald
>
Regards
--
Andrey L Vovk
NCBI Systems Group
NIH Contractor
--
Andrey L Vovk
NCBI Systems Group
NIH Contractor
More information about the rt-users
mailing list