[freeside-commits] freeside/FS/FS/part_export prizm.pm,1.3,1.4

Jeff Finucane,420,, jeff at wavetail.420.am
Tue Feb 20 18:53:17 PST 2007


Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory wavetail:/tmp/cvs-serv10985

Modified Files:
	prizm.pm 
Log Message:
work around a claimed 50 char limit, and correct a description handling bug

Index: prizm.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/prizm.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- prizm.pm	12 Jan 2007 23:27:09 -0000	1.3
+++ prizm.pm	21 Feb 2007 02:53:14 -0000	1.4
@@ -43,7 +43,7 @@
 
   my $cust_main = $svc->cust_svc->cust_pkg->cust_main;
 
-  my $err_or_som = $self->prizm_command(CustomerIfService, 'getCustomers',
+  my $err_or_som = $self->prizm_command('CustomerIfService', 'getCustomers',
                                         ['import_id'],
                                         [$cust_main->custnum],
                                         ['='],
@@ -118,7 +118,7 @@
   $err_or_som = $self->prizm_command('NetworkIfService', 'addProvisionedElement',
                                       $networkid,
                                       $svc->mac_addr,
-                                      $name . " " . $svc->description,
+                                      $name, # we fix this below (bug in prizm?)
                                       $location,
                                       $contact,
                                       sprintf("%032X", $svc->authkey),
@@ -141,7 +141,7 @@
                   $svc->latitude,
                   $svc->longitude,
                   $svc->altitude,
-                  $name,
+                  $name . " " . $svc->description,
                   $location,
                   $contact,
                   );



More information about the freeside-commits mailing list