Closed (duplicate)
Project:
Ubercart
Version:
7.x-3.x-dev
Component:
Products
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2011 at 21:08 UTC
Updated:
17 Jun 2011 at 04:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
longwavePlease test the attached patch.
Comment #2
patoshi commentedYou are awesome longwave =).. thanks for the patch. would you be able to enlighten me on why this error was happening?
Comment #3
longwaveDrupal 7 is more strict about errors than Drupal 6 was, but not all of Ubercart's code has been updated to match. In this case, it appears that the $node->revision property is not guaranteed to exist - this wasn't a problem in D6 but we need a more correct test in D7 to avoid causing errors.
Comment #4
longwaveCommitted #1, but this doesn't fix the $node->street1 warning, which I think is more complicated and needs further investigation.
Comment #5
Island Usurper commentedHopefully the street1 error will be automatically fixed once #1071332: State/Province select boxes need converting to Ajax gets in. I haven't seen that error yet, so I'm not sure if it would or not.
Comment #6
tr commentedI'm pretty sure the $node->street1 issue is the same as in #1187414: uc_quote uses both $node->street1 and $node->shipping_address->street1. I think it's better to handle it in that issue, since there's already a patch being worked on there.