Closed (fixed)
Project:
JSON:API
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Jul 2018 at 18:53 UTC
Updated:
7 Sep 2018 at 17:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
wim leersThis is blocked on #2895532-162: @DataType=map cannot be normalized, affects @FieldType=link, @FieldType=map getting committed to Drupal core.
Comment #3
wim leers#2895532: @DataType=map cannot be normalized, affects @FieldType=link, @FieldType=map landed! I'll work on this later today.
Comment #4
wim leersThis was only blocked on #2895532: @DataType=map cannot be normalized, affects @FieldType=link, @FieldType=map to ensure JSON API implements the exact same solution.
Also, this is hardly a feature request. Somewhere between a bug and a feature. Let's settle on .
#2 still applies cleanly. I ported over all relevant interdiff changes between #2895532-162: @DataType=map cannot be normalized, affects @FieldType=link, @FieldType=map and #2895532-179: @DataType=map cannot be normalized, affects @FieldType=link, @FieldType=map (the committed patch). Let's see how this does.
Comment #6
wim leersApparently there's a bug in
::testPatchIndividual(). It needs an improvement that::testPostIndividual()already has!Comment #7
wim leersLet's make
::testPatchIndividual()follow::testPostIndividual()'s lead more closely.Comment #9
wim leersThe test entity type doesn't exist on 8.5. D'oh. Updated accordingly.
Comment #11
wim leers😅
Comment #13
wim leersUgh, it fails even during
::setUp(). I gave up, and ran tests on Drupal 8.5 locally. Found a much simpler solution.Comment #14
wim leersPassed on 8.5, 8.6, 8.7! 🎉
Comment #15
gabesulliceoooh, that's fancy.
Good work 👏
Comment #16
wim leersIt's fancy and also the only way I could make it work — an if-test +
$this->markTestSkipped()didn't work, I tried that first 😅Comment #18
wim leers