- Merge request !2189Issue #3277553: json:api module does not support POSTing dynamic entity references with only `type`, `id` β (Open) created by bradjones1
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
- Status changed to Needs review
6 months ago 8:06am 6 May 2024 - πΊπΈUnited States bradjones1 Digital Nomad Life
Rebased on to 11.x and all green now! This was cautiously RTBC before, maybe we can get it there again?
- Status changed to Needs work
6 months ago 1:22pm 6 May 2024 - Status changed to Needs review
6 months ago 5:52pm 6 May 2024 - πΊπΈUnited States bradjones1 Digital Nomad Life
Nits addressed, back to NR.
- Status changed to RTBC
6 months ago 11:33pm 6 May 2024 - πΊπΈUnited States smustgrave
Seems this has gone through a number of reviews so will lean on that.
Did run the test-only feature to show the tests are failing as expected https://git.drupalcode.org/issue/drupal-3277553/-/jobs/1527829
Feedback from earlier has been addressed.
Believe this one to be good.
- Status changed to Needs work
6 months ago 10:22pm 8 May 2024 - π³πΏNew Zealand quietone
@smustgrave. The definition of RTBC includes the following, "Setting an issue to this status is a judgment call: if you have thoroughly tested and reviewed the patch and believe it is ready, you may change the status." I don't think that criteria has been meet in this case because as you say you are leaning on the reviews of others.
Let's have a title update here. The title is a problem statement and is better as a positive statement of what is being fixed. Also, I didn't find a comment that any of the 4 change records have been reviewed. That needs to be done. And all the change records need an update to the branch/version.
I did not review the patch.
- Status changed to Needs review
6 months ago 11:28pm 8 May 2024 - Status changed to Needs work
6 months ago 6:15am 9 May 2024 - π³π±Netherlands bbrala Netherlands
Went through the changes again. I have some feedback of thinigs that have changed in core since. Also i'm afraid we need a BC path for the contructor addition. I think @larowlan just missed that.
- π³π±Netherlands bbrala Netherlands
I think we are ok with no bc path for the topdocumentnornalizer.
https://git.drupalcode.org/search?group_id=2&repository_ref=11.x&scope=b...
No usage. Just to be sure I'll also check the service
- π³π±Netherlands bbrala Netherlands
And for the service. Think we are golden, no bc path.
https://git.drupalcode.org/search?group_id=2&repository_ref=11.x&scope=b...
- π³π±Netherlands bbrala Netherlands
Extra note, also read through the cr's
- Status changed to Needs review
6 months ago 5:08pm 9 May 2024 - πΊπΈUnited States bradjones1 Digital Nomad Life
Removed the two dead code lines in test, sounds like nothing to change on the BC side (excellent.)
- Status changed to Needs work
6 months ago 7:20pm 9 May 2024 - π³π±Netherlands bbrala Netherlands
Might need a rebase, but that single test is failing consistently.
- Status changed to Needs review
6 months ago 7:52pm 9 May 2024 - Status changed to RTBC
6 months ago 7:58pm 9 May 2024 - π³π±Netherlands bbrala Netherlands
All feedback has been resolved. Think this is ready, ty for the work here.
- Status changed to Needs work
6 months ago 1:40am 23 May 2024 - π³πΏNew Zealand quietone
I read the issue summary and am concentrating on the remaining tasks.
The title has been updated, thank you. However it still long and I do not understand if the comma is separating 2 phrases or the forward slash is. This seems to be fixing multiple things? Is this what it means, "JSON:API validates entity reference fields and supports POSTing dynamic entity references with only 'type' and 'id'"In #44 @bralla read through the change records so I presume that means they are accurate.
The branch/version on the CRs is correct.That is the three remaining tasks. I am setting back to NW for a title update.
I then took a closer look at the change records. Since there are four of them I will ask if this issue has too wide a scope?
This change record β isn't really clear in explaining the action the developer should take. It uses 'may' so it is not clear if the change must be made or not or what the consequences are. For example, what happens if a site is using the following code in say Drupal 12? Is this a problem? Does a site using that have to change that code?
meta": { "entity_type": "user" }
Anyway, I worked on all the change records to convert them to plain language and to correct the casing of JSON:API per the specification. I hope that helps to keep this moving along.