Closed (fixed)
Project:
JSON:API
Version:
8.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
10 Dec 2018 at 15:29 UTC
Updated:
31 Dec 2018 at 22:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
wim leersThis fixes
::testRelationships(), not yet::testGet().Comment #4
wim leersAnd this fixes
::testGet().Comment #5
wim leersGreen! Queueing 8.5 and 8.7 tests too. Committing after those come back green.
Comment #6
wim leersError: Class 'Drupal\Core\Cache\MemoryCache\MemoryCache' not foundthis is now failing because of #3014232: [regression] ResourceTypeRepository is significantly slower in JSON:API 2, becomes noticeable when handling hundreds of interlinked resources 😱 😫 😡Comment #7
wim leersPostponed on #3014232: [regression] ResourceTypeRepository is significantly slower in JSON:API 2, becomes noticeable when handling hundreds of interlinked resources.
Comment #8
gabesulliceRetesting on 8.5/6/7
Comment #9
gabesulliceThis patch has its own 8.5 related failure:
8.5 has another failure on HEAD which means that it won't pass entirely, but we can still address this one so that it can be RTBC when the other bug is resolved. Therefore, I'm removing the [PP-1] status until we do so.
Comment #10
gabesulliceComment #11
gabesullice@Wim Leers, if you get a chance to work on this and fix the issue in #9, I would commit this patch even if #3019506 is not yet fixed. Then we'll only have one issue left to resolve to unbreak HEAD. This one affects 8.5, 8.6, and 8.7 while the other only affects 8.5 (AFIACT, at the moment).
Comment #12
wim leers#3019506: UserTest::testRelated() fails on Drupal 8.5 because no $reason is given in the Access Denied response just landed.
Reproduced.
Comment #13
wim leersThe failure on 8.5 is introduced by #3, because it was stupidly and obviously wrong! 😭 I copy/pasted it without updating the array keys.
The lack of multi-minor automated patch testing is understandable from a cost PoV, but it's clearly causing havoc. At least on-commit testing against 8.5 is now working again. (But setting that up at https://www.drupal.org/node/2723491/qa confused other things again, I pinged https://www.drupal.org/u/mixologic about that.)
Comment #14
wim leersDespite #3019506-7: UserTest::testRelated() fails on Drupal 8.5 because no $reason is given in the Access Denied response being green (on PHP 7), the first branch-level test run against 8.5 failed (on PHP 5). Apparently JSON:API + Drupal 8.5 fails on PHP 5, in one really obscure case. But that's perhaps not a bad thing in the end, since PHP 5 support has ended…
Green on 8.6 and 8.7, and green on 8.5 + PHP 7. Let's do this.
Comment #16
wim leers