Reviewed & tested by the community
Project:
Ubercart
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2013 at 19:56 UTC
Updated:
1 Jun 2018 at 01:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jerry commentedPatch for the issue described above.
Comment #2
tr commentedLooks like the form structure was changed by #1844402: AJAX crash and address load/save failure in uc_shipping_shipment_edit() form. Specifically,
$form['origin']['pickup_address'][#tree] =TRUEwas added in that patch.Please test to see if your proposed fix breaks the problem raised in that other issue.
Note this issue will also affect all other shipping fulfillment modules. uc_fedex is the only other one I know of, and that's mine so I will take care of fixing uc_fedex when we get this issue resolved for uc_ups.
Comment #3
jerry commentedPatched version still passes the tests provided in #1844402: AJAX crash and address load/save failure in uc_shipping_shipment_edit() form.
Comment #4
tr commentedExcellent. Hopefully DanZ can test the patch in #1, since I know he's using this feature of uc_ups.
Comment #5
DanZ commentedI'm not using UPS, sorry.
Instead, I am using a heavily-altered version of uc_shipping_shipment_edit() in https://drupal.org/project/uc_stamps (which makes three fulfillment modules). Because it uses an _alter(), it automatically accounts for the changes in #1844402: AJAX crash and address load/save failure in uc_shipping_shipment_edit() form.
The UPS module doesn't do an _alter(). Instead, it has a modified copy-paste of that form. So, that form must be updated, per the patch. (Avoiding this problem is why I went with the _alter(), although that technique has its own awkward issues.)
So, yeah, that just leaves FedEx.
Since we have another shipping coder here.... As I've mentioned before, I dislike the entire UI structure for shipping, and hope to see it replaced. I'd like to see a common interface for all shipping methods, with an easy way to add customization for any particular method added by a module. I'll be working on automation first, though (creating packages and shipments without all those clicks).
Comment #6
sibro commentedApplied patch in #1
Now get
Hard Error 120801: Address Validation Error on Shipper address
The address looks fine.
Comment #7
longwave120801 means "address validation detects an invalid city, state, postal code combination on the shipper’s address", are you sure the city, state and postal code all match?
Comment #8
sibro commentedYes, it is very clear New York NY 10115
Comment #9
jerry commentedConfirming that this problem still exists in 7.x-3.5, and that the patch in #1 still applies as-is and resolves the error.
If anyone else has successfully used this patch, please RTBC it so that we can get it committed prior to the next release.
Comment #10
jpdaut commentedPatch #1 fixed the problem for me. Thanks.
Drupal 7.24
Ubercart 7.x-3.5
Comment #11
jerry commentedConfirming that this problem still exists in 7.x-3.6, and that the patch in #1 still applies as-is and resolves the error.
Still hoping to get this into an Ubercart release. jpdaut, please consider marking it RTBC.
Comment #12
jerry commentedConfirming that this problem still exists in 7.x-3.8, and that the patch in #1 still applies as-is and resolves the error.
Marking RTBC based on two favorable results and no relevant unfavorable ones. It would be great to get this committed.
Comment #13
jerry commentedConfirming that this problem still exists in 7.x-3.11, and that the patch in #1 still applies as-is and resolves the error.
Still hoping that the patch can be committed.