sukhvir007 / tracmor

Automatically exported from code.google.com/p/tracmor
GNU General Public License v2.0
0 stars 0 forks source link

Creating a shipment without choosing a service type prior to "complete shipment" page causes below AJAX error #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Schedule a shipment without selecting a service type
2. Choose pending shipment link to complete shipment
3. Fill out necessary shipping fields and "complete shipment"

What is the expected output? What do you see instead?
AJAX error below & attached

Please use labels and text to provide additional information.
Trying to get property of non-object
Error Type:   E_NOTICE

Source File:   /var/www/html/shipping/shipment_edit.php     Line:   2462

Line 2457:                          59 => round($this->txtPackageLength->Text,0),                               
//Package Length
Line 2458:                          23 => '1',                                                                      //Recipient Pay Type ; 1 =
Bill Sender (prepaid)
Line 2459:                          75 =>
strtoupper($fxWeightUnit->ShortDescription),                                //Weight Units
Line 2460:                          1116 =>
strtoupper(substr($fxLengthUnitShortDescription,0,1)),                  //Volume Units
Line 2461:                          1273 => $fxPackageType->Value,                                                  //Packaging
Type ; 01 = Customer Packaging
Line 2462:                          1274 =>
$this->objShipment->FedexServiceType->Value,                            //Service Type ; 01 =
Fedex Priority
Line 2463:                          1333 => '1',                                                                    //Drop off Type ; 1 =
Regular Pickup
Line 2464:                          1368 => 2,                                                                      //Label Type ; 2 = 2D Common
Line 2465:                          1369 => 1,                                                                      //Label Printer Type ; 1 =
Laser Printer
Line 2466:                          1370 => 5,                                                                      //Label Media Type ; 5 =
Plain Paper
Line 2467:                          1401 =>
number_format(round($this->txtPackageWeight->Text, 1), 1, '.', ''), 

Original issue reported on code.google.com by lyndi...@gmail.com on 27 Oct 2006 at 8:05

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by lyndi...@gmail.com on 27 Oct 2006 at 8:49

GoogleCodeExporter commented 8 years ago
Justin should fix this when he's working on revamping the FedEx integration and
shipping module.

Original comment by hunterje...@gmail.com on 5 Dec 2006 at 9:27

GoogleCodeExporter commented 8 years ago
Additional steps required to reproduce bug:
1-When scheduling shipment, choose "FedEx" as "Service Type" but "Bill
Transportation" to "other"
2-Save shipment
3-Open pending shipment and complete shipment

Original comment by lyndi...@gmail.com on 12 Feb 2007 at 4:53

GoogleCodeExporter commented 8 years ago
This bug no longer exists with the latest shipping module changes.

Original comment by jsincl...@gmail.com on 17 Apr 2007 at 8:05

GoogleCodeExporter commented 8 years ago
switching owner to Lyndi.

Original comment by jsincl...@gmail.com on 17 Apr 2007 at 8:05