projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2ec6f6d
)
better debugging for CCH import failure, RT#18817
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 8 Aug 2012 00:12:18 +0000
(17:12 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 8 Aug 2012 00:12:18 +0000
(17:12 -0700)
FS/FS/cust_tax_location.pm
patch
|
blob
|
history
FS/FS/part_pkg_taxrate.pm
patch
|
blob
|
history
FS/FS/tax_class.pm
patch
|
blob
|
history
FS/FS/tax_rate.pm
patch
|
blob
|
history
FS/FS/tax_rate_location.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_tax_location.pm
b/FS/FS/cust_tax_location.pm
index
161a654
..
1a9bf5a
100644
(file)
--- a/
FS/FS/cust_tax_location.pm
+++ b/
FS/FS/cust_tax_location.pm
@@
-298,7
+298,7
@@
sub batch_import {
}
if ( scalar( @columns ) ) {
$dbh->rollback if $oldAutoCommit;
}
if ( scalar( @columns ) ) {
$dbh->rollback if $oldAutoCommit;
- return "Unexpected trailing columns in line (wrong format?): $line";
+ return "Unexpected trailing columns in line (wrong format?)
importing cust_tax_location
: $line";
}
my $error = &{$hook}(\%cust_tax_location);
}
my $error = &{$hook}(\%cust_tax_location);
diff --git
a/FS/FS/part_pkg_taxrate.pm
b/FS/FS/part_pkg_taxrate.pm
index
e29c3d0
..
c83f700
100644
(file)
--- a/
FS/FS/part_pkg_taxrate.pm
+++ b/
FS/FS/part_pkg_taxrate.pm
@@
-384,7
+384,7
@@
sub batch_import {
}
if ( scalar( @columns ) ) {
$dbh->rollback if $oldAutoCommit;
}
if ( scalar( @columns ) ) {
$dbh->rollback if $oldAutoCommit;
- return "Unexpected trailing columns in line (wrong format?): $line";
+ return "Unexpected trailing columns in line (wrong format?)
importing part_pkg_taxrate
: $line";
}
my $error = &{$hook}(\%part_pkg_taxrate);
}
my $error = &{$hook}(\%part_pkg_taxrate);
diff --git
a/FS/FS/tax_class.pm
b/FS/FS/tax_class.pm
index
4f03969
..
bfec2c0
100644
(file)
--- a/
FS/FS/tax_class.pm
+++ b/
FS/FS/tax_class.pm
@@
-339,7
+339,7
@@
sub batch_import {
}
if ( scalar( @columns ) ) {
$dbh->rollback if $oldAutoCommit;
}
if ( scalar( @columns ) ) {
$dbh->rollback if $oldAutoCommit;
- return "Unexpected trailing columns in line (wrong format?): $line";
+ return "Unexpected trailing columns in line (wrong format?)
importing tax_class
: $line";
}
my $error = &{$hook}(\%tax_class);
}
my $error = &{$hook}(\%tax_class);
diff --git
a/FS/FS/tax_rate.pm
b/FS/FS/tax_rate.pm
index
e9496e4
..
77cd5cb
100644
(file)
--- a/
FS/FS/tax_rate.pm
+++ b/
FS/FS/tax_rate.pm
@@
-760,7
+760,7
@@
sub batch_import {
}
if ( scalar( @columns ) ) {
$dbh->rollback if $oldAutoCommit;
}
if ( scalar( @columns ) ) {
$dbh->rollback if $oldAutoCommit;
- return "Unexpected trailing columns in line (wrong format?): $line";
+ return "Unexpected trailing columns in line (wrong format?)
importing tax_rate
: $line";
}
my $error = &{$hook}(\%tax_rate);
}
my $error = &{$hook}(\%tax_rate);
diff --git
a/FS/FS/tax_rate_location.pm
b/FS/FS/tax_rate_location.pm
index
1a6c47d
..
b4be8b9
100644
(file)
--- a/
FS/FS/tax_rate_location.pm
+++ b/
FS/FS/tax_rate_location.pm
@@
-301,7
+301,7
@@
sub batch_import {
}
if ( scalar( @columns ) ) {
$dbh->rollback if $oldAutoCommit;
}
if ( scalar( @columns ) ) {
$dbh->rollback if $oldAutoCommit;
- return "Unexpected trailing columns in line (wrong format?): $line";
+ return "Unexpected trailing columns in line (wrong format?)
importing tax-rate_location
: $line";
}
my $error = &{$hook}(\%tax_rate_location);
}
my $error = &{$hook}(\%tax_rate_location);