Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The theme function which displays the UPS shipping label incorrectly obtains the stream URI of the image file, and also fails to convert it to a linkable URL before embedding it. Patch to follow momentarily.
Comment | File | Size | Author |
---|---|---|---|
#1 | ubercart-broken-label-1430850-0.patch | 742 bytes | jerry |
Comments
Comment #1
jerry CreditAttribution: jerry commentedPatch attached.
Comment #2
TR CreditAttribution: TR commentedThanks for finding that. I can't test it because I don't have permissions from UPS to generate shipping labels, but your changes are consistent with what I use for the FedEx equivalent function in my uc_fedex module.
Clearly, UPS shipping label generation is not something that's used by many people since that bad code has been present for the past 11 months without anyone reporting a bug!
Patch committed.