[freeside-commits] branch FREESIDE_2_3_BRANCH updated. ab9a9ed2fc6fd48328b7ac8575aa33d8d5c22e89

Mark Wells mark at 420.am
Mon Mar 5 11:16:17 PST 2012


The branch, FREESIDE_2_3_BRANCH has been updated
       via  ab9a9ed2fc6fd48328b7ac8575aa33d8d5c22e89 (commit)
      from  8c45cfb8fd6ad6216ce18f0ab69c9e4f48ee0a8c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ab9a9ed2fc6fd48328b7ac8575aa33d8d5c22e89
Author: Mark Wells <mark at freeside.biz>
Date:   Mon Mar 5 11:14:36 2012 -0800

    make svc_broadband upgrade errors non-fatal

diff --git a/FS/FS/svc_broadband.pm b/FS/FS/svc_broadband.pm
index 1808601..4787cfe 100755
--- a/FS/FS/svc_broadband.pm
+++ b/FS/FS/svc_broadband.pm
@@ -601,7 +601,7 @@ sub _upgrade_data {
       # (other than setting blocknum to null for a non-auto-assigned router)
       if ( $self->ip_addr ne $ip_addr 
         or ($self->blocknum and $self->blocknum != $addr_block->blocknum)) {
-        die "Upgrading service ".$self->svcnum." would change its block/address.\n\nCheck your router and address block configuration.\n";
+        warn "WARNING: Upgrading service ".$self->svcnum." would change its block/address; skipped.\n";
         next;
       }
 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/svc_broadband.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list