- ๐ฒ๐ฝMexico GafgarionMorua Puerto Vallarta
The patch in #60 works for me on Drupal 9.5.5
- ๐บ๐ธUnited States neclimdul Houston, TX
Updated patch to move this forward. moved deprecation to 10 as the latest release this would go in. Updated deprecation to match standard format. Needs Change Record to link to in the deprecation.
I don't know how to address the logging concern in #75 to update the issue summary. Why wouldn't you log the an error? Without logging something it would be one of those unknoweable unfixable errors right?
- ๐ธ๐ฎSlovenia alecsmrekar
Here's a small adjustment to #60 to allows admins to see the broken blocks, instead of suppressing the error "This block is broken or missing..."
- ๐บ๐ธUnited States Farnoosh
Having this error on Layout builder of an entity in my case the taxonomy term page in Core 10.0.10, so this patch is against 10.0.10
- ๐บ๐ธUnited States andyg5000 North Carolina, USA
I like the approach in #82. Show the error that blocks are missing to those that have access.
- last update
about 1 year ago Custom Commands Failed - ๐ฏ๐ดJordan Rajab Natshah Jordan
Re-role for the patch from #82 to apply for Drupal
10.2.1
- last update
10 months ago Custom Commands Failed - ๐ฎ๐ณIndia pradhumanjainOSL
The issue is in
@trigger_error('The logger service must be passed to InlineBlock::__construct(). It was added in drupal:9.4.0 and will be required before drupal:11.0.0.', E_USER_DEPRECATED);as it is not in correct format.
%thing% is deprecated in %deprecation-version% and is removed from %removal-version%. %extra-info%. See %cr-link%
https://www.drupal.org/about/core/policies/core-change-policies/drupal-deprecation-policy โ - Status changed to Needs review
8 months ago 7:58pm 11 March 2024 - Status changed to Needs work
8 months ago 8:05pm 11 March 2024 The Needs Review Queue Bot โ tested this issue.
While you are making the above changes, we recommend that you convert this patch to a merge request โ . Merge requests are preferred over patches. Be sure to hide the old patch files as well. (Converting an issue to a merge request without other contributions to the issue will not receive credit.)
- last update
8 months ago Custom Commands Failed - First commit to issue fork.
- ๐ง๐ทBrazil carolpettirossi Campinas - SP
carolpettirossi โ changed the visibility of the branch 3049332-call-to-a-member-function-getEntityTypeId()-on-null to hidden.
- Merge request !70083049332: Fix PHP error: Call to a member function getEntityTypeId() on null โ (Open) created by carolpettirossi
- Status changed to Needs review
8 months ago 7:46pm 12 March 2024 - ๐ง๐ทBrazil carolpettirossi Campinas - SP
I created an MR with code from patch #87 as recommended by the "needs-review-queue-bot"
- Status changed to Needs work
8 months ago 8:28pm 12 March 2024 The Needs Review Queue Bot โ tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- ๐ง๐ทBrazil carolpettirossi Campinas - SP
Still getting the PHPCS error on
trigger_error
. However, I'm wondering if thattrigger_error
is needed. Is there an intention to make$logger
required in a future Drupal version? If yes, do we need a Change Record to link to? - ๐ณ๐ฟNew Zealand danielveza Brisbane, AU
Correct yeah we would need a CR to be made for this as the logger is now required by
InlineBlock
In my opininon, the
trigger_error
message should be formatted like existing examples. This example also includes a CR โ that could be used as a starting point. - First commit to issue fork.
- Status changed to Needs review
8 months ago 4:52pm 28 March 2024 - ๐บ๐ธUnited States froboy Chicago, IL
I've updated the message and created... ๐ฅ my first ever change record โ (please be gentle).
Thanks to @DanielVeza for the helpful example. I tried to follow that model, although I couldn't find any good examples of the constructor being called. I instead opted to use [#3436810] as an example of a constructor change. I'm very much open to suggestions for better examples there.
- ๐บ๐ธUnited States froboy Chicago, IL
Test failures seem to be unrelated:
There was 1 failure: 1) Drupal\Tests\Composer\Plugin\Scaffold\Functional\ManageGitIgnoreTest::testUnmanagedGitIgnoreWhenGitNotAvailable
- Status changed to Needs work
8 months ago 9:14pm 28 March 2024 - ๐บ๐ธUnited States smustgrave
Hiding patches for clarity.
Left some comments on the MR.
Leaving issue summary tag if that could be cleaned up please. Proposed solution seems like a question and there are some TBD spots. If there aren't, for example, UI changes it's fine to just N/A there.
- Status changed to Needs review
8 months ago 9:15pm 29 March 2024 - ๐บ๐ธUnited States froboy Chicago, IL
Thanks for the feedback @smustgrave. I've resolved the MR comments and taken a pass at updating the issue summary.
- Status changed to Needs work
8 months ago 12:02am 31 March 2024 - Status changed to Needs review
8 months ago 2:17pm 1 April 2024 - ๐บ๐ธUnited States froboy Chicago, IL
I've satisfied phpcs, but it looks like
Drupal\Tests\Composer\Plugin\Scaffold\Functional\ManageGitIgnoreTest
is still failing. - Status changed to Needs work
8 months ago 4:30pm 1 April 2024 - Status changed to Needs review
8 months ago 7:18pm 1 April 2024 - ๐บ๐ธUnited States froboy Chicago, IL
Sorry... took a couple tries but I successfully rebased and tests are now passing.
- Status changed to RTBC
7 months ago 11:10pm 19 April 2024 - Status changed to Needs work
7 months ago 7:18am 20 April 2024 - ๐ณ๐ฟNew Zealand quietone
This needs a title update so it makes sense in the git log.
- Status changed to RTBC
7 months ago 3:11pm 20 April 2024 - Status changed to Needs work
7 months ago 10:09am 21 April 2024 - ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
I've asked a couple of questions on the MR.
- ๐ช๐ธSpain Carlos Romero
Carlos Romero โ made their first commit to this issueโs fork.
- Merge request !83503049332: Fix PHP error: Call to a member function getEntityTypeId() on null โ (Closed) created by Carlos Romero
- Merge request !83513049332: Fix PHP error: Call to a member function getEntityTypeId() on null โ (Open) created by Carlos Romero
- Merge request !83523049332: Fix PHP error: Call to a member function getEntityTypeId() on null โ (Closed) created by Carlos Romero
- ๐ฉ๐ชGermany mkalkbrenner ๐ฉ๐ช
Nothing changed, just a re-roll against Drupal 10.3.0 to ease the update for installations that require the patch.
- ๐ง๐ชBelgium flyke
Added issue #2942975 ๐ [PP-1] Expose Layout Builder data to REST and JSON:API Postponed as related because its impossible to use this patch and patch from that issue at the same time.
- ๐จ๐ฆCanada arakwar
Adding issue https://www.drupal.org/project/drupal/issues/3180702 โจ Export block UUID with custom Layout Builder blocks Needs work as related, because we also can't use both patches at the same time.