- First commit to issue fork.
- Merge request !9102Issue #3210926 by kriboogh: Call to a member function getAlias on null in PathItem->postSave() → (Open) created by kriboogh
- Status changed to Needs review
about 1 year ago 12:28pm 6 August 2024 - 🇧🇪Belgium kriboogh
Created MR from #3 on 11.x
Added patch from MR for use in composer.
Applies to 10.3.x and 11.x - Status changed to Needs work
about 1 year ago 2:04pm 6 August 2024 - 🇺🇸United States smustgrave
Thanks for reviving this one.
Will also need a test case showing the issue.
- 🇷🇸Serbia levmyshkin Novi Sad, Serbia
Patch #13 is working fine for me on Drupal 10.2 and fixed the problem with Entity Share from #7.
- 🇺🇸United States lokapujya Boston
I ran into this issue as well, after a migration. Seems like there is a workaround of saving twice. I added the patch to my code to prevent editors from running into the error.
- 🇺🇸United States lokapujya Boston
Could it be related to the path alias langcode, 'en' vs 'und'?
- 🇫🇷France pbonnefoi
Is this fixed ? The patch is not applicable anymore and it seems that a similar code has been pushed to the last version of D11.
- First commit to issue fork.
- 🇮🇩Indonesia awset
I got an issue with the MR not apply in D10.3.x, I re-roll this patch file to address it.
- 🇦🇺Australia acbramley
It looks like this would only happen if the field value contained a pid value that didn't have an associated path_alias entity. I think the defence would be good to add but we'll need some steps to reproduce here. I'm also not sure if creating the alias entity at that point is the right approach?