[freeside-commits] freeside/FS/FS/part_export domain_sql.pm, 1.3,
1.4
Ivan,,,
ivan at wavetail.420.am
Fri Sep 29 09:18:30 PDT 2006
Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory wavetail:/tmp/cvs-serv24144
Modified Files:
domain_sql.pm
Log Message:
precedence error causing schema mapped values to disappear
Index: domain_sql.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/domain_sql.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- domain_sql.pm 29 Sep 2006 15:36:41 -0000 1.3
+++ domain_sql.pm 29 Sep 2006 16:18:27 -0000 1.4
@@ -74,11 +74,13 @@
my %schema = $self->_schema_map;
my %static = $self->_static_map;
- my %record = ( map { $_ => $static{$_} } keys %static ),
- ( map { my $method = $schema{$_};
+ my %record = ( ( map { $_ => $static{$_} } keys %static ),
+ ( map { my $method = $schema{$_};
$_ => $svc_domain->$method();
- }
- keys %schema );
+ }
+ keys %schema
+ )
+ );
my $err_or_queue =
$self->domain_sql_queue(
@@ -109,11 +111,13 @@
push @primary_key, $old->$keymap();
}
- my %record = ( map { $_ => $static{$_} } keys %static ),
- ( map { my $method = $schema{$_};
- $_ => $new->$method();
- }
- keys %schema );
+ my %record = ( ( map { $_ => $static{$_} } keys %static ),
+ ( map { my $method = $schema{$_};
+ $_ => $new->$method();
+ }
+ keys %schema
+ )
+ );
my $err_or_queue = $self->domain_sql_queue(
$new->svcnum,
More information about the freeside-commits
mailing list