This issue is a continuous effort to bring all ubercart 8.x tests back to green.
I will be posting patches here periodically...those can be committed one by one, or in the end as a big patch
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | ubercart-2280871-5.patch | 3.02 KB | ParisLiakos |
| #3 | ubercart-2280871-3.3.patch | 870 bytes | ParisLiakos |
| #3 | ubercart-2280871-3.2.patch | 1.59 KB | ParisLiakos |
| #3 | ubercart-2280871-3.1.patch | 10.1 KB | ParisLiakos |
| #1 | ubercart-2280871-1.patch | 3.03 KB | ParisLiakos |
Comments
Comment #1
ParisLiakos commentedHere is what this patch fixes:
ConfigurablePluginInterface::calculateDependencies()Comment #2
longwaveThank you! Committed each part separately, also fixed the 'data' field for UcOrderProduct.
Comment #3
ParisLiakos commentedthanks! appreciated it for separate commits:)
This patch fixes:
filter_xss()andfilter_xss_admin()are removedComment #4
longwaveCommitted all of #3.
Comment #5
ParisLiakos commentedthanks!
this one, fixes going from cart to checkout. this will probably fix many fails
Comment #8
longwaveThanks. I think theme_uc_cart_review_table() was not correct though; I made a mistake previously as it shouldn't be calling hook_uc_cart_display(), as by that time the items are UcOrderProduct entities. Instead I applied a quick fix and an @todo to convert the whole thing to Views anyway. Let's see how this gets on with testbot.
Comment #10
longwaveI cheated slightly by skipping five failing assertions and opening #2306379: Rework tax handling and inclusive taxes but at the time of writing the branch is green.
Comment #11
ParisLiakos commentedthanks!
Comment #13
tr commentedReopening. There have been a lot of changes in D8 core since this was closed, and all of the tests were broken. We now need to make all the tests run green again. I have made great progress over the past few week, and now about half the tests run green. I welcome any contributions towards completing this goal.
Comment #14
tr commentedOnly 2 test fails left to fix!
The exceptions that currently show up in the tests are because of a core change #1835016: Polyfill date input type.
I have reported them as a bug in that original issue and in #2528482: Fix notice in Date::processDate.
Comment #15
longwaveI think the 'date' problem is what I alluded to in #2088383-1: Datetime FAPI DX where the FAPI type 'date' was handled very differently in D5-7 but has been modernised in D8, but there are no change notices or tests that cover this.
Comment #16
longwaveFixed the last two fails, the remaining notices are the FAPI date bug in core.
Comment #17
tr commentedI fixed the last exceptions by using a datetime (and hiding the time part) form field instead of date.
Now that we're green again we can start using #2160791: [D8] Patch testing issue. Marking this as fixed - any new test failures should be opened as individual issues.