- ๐ฎ๐ณIndia Akhil Babu Chengannur
Akhil Babu โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia Akhil Babu Chengannur
Akhil Babu โ changed the visibility of the branch 2820411-improve-the-exception to hidden.
- ๐ฎ๐ณIndia Akhil Babu Chengannur
Akhil Babu โ changed the visibility of the branch 2820411-improve-the-exception to active.
- Merge request !5673Issues/2820411: Improve EntityTypeManager exception message when handler class does not exist โ (Closed) created by Akhil Babu
- ๐ฎ๐ณIndia Akhil Babu Chengannur
I have updated the exception message as follows
When the handler does not exist: The "%s" entity type did not specify a %s handler.
When the handler class does not exist: The %s handler of the "%s" entity type specifies a non-existent class "%s".But, not sure why the pipeline is failing.
- Status changed to Needs review
about 1 year ago 11:31am 5 December 2023 - Status changed to Needs work
about 1 year ago 11:44am 5 December 2023 - ๐ฌ๐งUnited Kingdom joachim
It's a pain to find the failure in the logs -- in the raw log at https://drupal-gitlab-job-artifacts.s3.us-west-2.amazonaws.com/34/dd/34d... it's this:
Drupal\Tests\Core\Entity\EntityTypeManagerTest::testGetHandlerMissingHandler
Prophecy\Exception\Call\UnexpectedCallException: Unexpected method call on
Double\EntityTypeInterface\P6:
- getHandlerClasses()
expected calls were:
- getHandlerClass(
exact("storage")
)
- getLinkTemplates()
- getClass()
- setClass(
exact("Mock_EntityInterface_5a25fd53")
)So the mock needs updating for the new method call.
Though I am surprised there is no test coverage of the exception message we're changing!
- Status changed to Needs review
about 1 year ago 11:44am 19 December 2023 - ๐ฎ๐ณIndia Akhil Babu Chengannur
Thanks @joachim.
Fixed the test. Also added a new test for the new exception message. - Status changed to Needs work
about 1 year ago 7:44pm 19 December 2023 - ๐บ๐ธUnited States smustgrave
For good practice as a novice task issue summary should follow the standard issue template.
- Status changed to Needs review
about 1 year ago 10:54am 20 December 2023 - ๐ฎ๐ณIndia Akhil Babu Chengannur
Updated the issue summary. Moving back to needs review
- Status changed to RTBC
about 1 year ago 2:34pm 20 December 2023 - ๐บ๐ธUnited States smustgrave
Issue summary seems good.
@Akhil Babu just FYI this ticket was tagged novice, you did nothing wrong working on it, but based on the number of posts you now have and work on other tickets believe you should be good to work on non novice issues now. Good job!
- Status changed to Needs work
12 months ago 1:26am 31 December 2023 - ๐ณ๐ฟNew Zealand quietone
Thanks for helping developers.
I'm triaging RTBC issues โ . I read the IS and the comments. I didn't find any unanswered questions.
I reviewed the MR and left suggestions, so setting to Needs work.
- Status changed to Needs review
12 months ago 9:41am 3 January 2024 - ๐ฎ๐ณIndia Akhil Babu Chengannur
Thanks for reviewing. I've Committed the proposed changes. Moving back to Needs review
- Status changed to RTBC
12 months ago 3:06pm 3 January 2024 - Status changed to Needs work
11 months ago 5:29am 31 January 2024 - ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
Left some suggestions on the MR
Can we also get a follow-up for a similar fix in
\Drupal\Core\Entity\EntityTypeManager::getFormObject
(if one does not already exist). - Status changed to Needs review
11 months ago 9:43am 31 January 2024 - ๐ฎ๐ณIndia Akhil Babu Chengannur
I have updated the MR as per the review comments.
@larowlan The exception message in\Drupal\Core\Entity\EntityTypeManager::getFormObject
also has to be updated when the form class does not exist. I have create a new issue for that. ๐ Improve the exception message when an entity form class does not exist Active - Status changed to RTBC
11 months ago 8:23pm 2 February 2024 -
quietone โ
committed 5a571f6f on 11.x
Issue #2820411 by Akhil Babu, smustgrave, larowlan, joachim, quietone:...
-
quietone โ
committed 5a571f6f on 11.x
-
quietone โ
committed ae84c94c on 10.2.x
Issue #2820411 by Akhil Babu, smustgrave, larowlan, joachim, quietone:...
-
quietone โ
committed ae84c94c on 10.2.x
- Status changed to Fixed
11 months ago 5:10am 6 February 2024 - ๐ณ๐ฟNew Zealand quietone
Automatically closed - issue fixed for 2 weeks with no activity.