The testAutomaticRedirects() fails in RedirectUITest in drupal 8.8 due to the updates of the path and path alias modules in core.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3100538-interdiff-2-4.txt | 1.61 KB | arpad.rozsa |
| #4 | 3100538-redirectuitest_fails-4.patch | 1.58 KB | arpad.rozsa |
| #2 | 3100538-redirectuitest_fails-2.patch | 1.25 KB | arpad.rozsa |
Comments
Comment #2
arpad.rozsa commentedComment #3
berdirThis will in turn fail on 8.7, which we still support.
As the change is pretty simple, lets add a check for if (version_compare(\Drupal::VERSION, '8.8', '>=')) { or so, so it works on both versions.
You could define a $field_suffix = '[0][value]'; variable that you conditionally set to empty or that and append it to those 3 fields.
Comment #4
arpad.rozsa commentedAdded the version check.
Comment #5
berdirThanks.