- last update
about 1 year ago 1 pass - 🇺🇦Ukraine vaza18
As it was mentioned above, the issue occurs, when some modules that implemented Middleware, such as Shield or Cloudflare, load entities (such as Key module, which stores credentials securely). At that time the request object may not be ready yet depending on various conditions.
I would suggest the following alternative patch, which in addition to the request validation also checks if entity is actually a content entity.
- 🇷🇸Serbia levmyshkin Novi Sad, Serbia
Patch #5 is working for me. I could install Domain modules, but when I tried to add a new Domain, it failed with the error. #5 patched help to fix this problem.
- Status changed to RTBC
3 months ago 11:33am 26 August 2024 - 🇨🇦Canada joseph.olstad
Has anyone tested this patch with sites not using the domain approach?
Also, can someone please roll this patch into a branch and make a merge request?
- 🇨🇦Canada joseph.olstad
git remote add conflict-3142921 git@git.drupal.org:issue/conflict-3142921.git git fetch conflict-3142921
git checkout -b '3142921-fatal-error-when' --track conflict-3142921/'3142921-fatal-error-when'
git push --set-upstream conflict-3142921 HEAD
- First commit to issue fork.