- ๐ฎ๐ณ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 3302833-imporve-exception to hidden.
- Merge request !162Issue #3462098 by Prem Suthar, joachim, quietone: hook_local_tasks_alter() and... โ (Open) created by Akhil Babu
- Status changed to Needs work
6 months ago 1:17pm 14 August 2024 - ๐ฎ๐ณIndia Akhil Babu Chengannur
I tried to create an MR for this, but I am not able to rebase it properly
These are the changes: https://git.drupalcode.org/project/distributions_recipes/-/merge_request... - ๐ฎ๐ณIndia Akhil Babu Chengannur
akhil babu โ changed the visibility of the branch 11.x to hidden.
- ๐ฎ๐ณIndia Akhil Babu Chengannur
akhil babu โ changed the visibility of the branch 11.x-1 to hidden.
- ๐ฎ๐ณIndia Akhil Babu Chengannur
akhil babu โ changed the visibility of the branch 3302833-imporve-exception-2 to hidden.
- First commit to issue fork.
- ๐จ๐ฆCanada b_sharpe
b_sharpe โ changed the visibility of the branch 3302833-imporve-exception-3 to hidden.
- ๐จ๐ฆCanada b_sharpe
b_sharpe โ changed the visibility of the branch 3302833-improve-pluginnotfound-exception to hidden.
- Merge request !163Issue #3302833 by b_sharpe: Improve PluginNotFound exception to include... โ (Open) created by b_sharpe
- Status changed to Needs review
6 months ago 6:57pm 14 August 2024 - Status changed to Needs work
6 months ago 6:13am 16 August 2024 - ๐ฎ๐ณIndia prashant.c Dharamshala
There are still a lot of conflicts that need rebase. Can we create a new branch and add changes to that?
- Status changed to Needs review
6 months ago 2:40pm 16 August 2024 - ๐จ๐ฆCanada b_sharpe
@Prashant.c where are the conflicts? The fork is 1 commit ahead of upstream... Please provide more details.
- ๐ฎ๐ณIndia prashant.c Dharamshala
@b_sharpe
Yes, I was checking on Drupal core
11.x
, now checked on the recipes project code itself and it is up-to-date, no rebase needed.The changes look good to me. Thanks
- Status changed to Needs work
6 months ago 9:56am 20 August 2024 - ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
It'd be great if this had test coverage. Also I think this issue can be made against drupal/core and not the recipes initiative as the code is in core.
- Status changed to Needs review
6 months ago 11:59am 20 August 2024 - ๐ฎ๐ณIndia Akhil Babu Chengannur
Added the tests.
Also I think this issue can be made against drupal/core and not the recipes initiative as the code is in core.
Not sure how to do it. Create a new issue against Drupal core and close this one?
- ๐บ๐ธUnited States thejimbirch Cape Cod, Massachusetts
I am changing the issue to be against core.
I believe you will just need to open a new MR targeting core, not the recipes project.
- Merge request !9274Issues/3302833: Improve PluginNotFound exception to include possible shorthand action IDs. โ (Open) created by Akhil Babu
- ๐ฎ๐ณIndia Akhil Babu Chengannur
akhil babu โ changed the visibility of the branch 3302833-PluginNotFound to hidden.
- ๐ฎ๐ณIndia Akhil Babu Chengannur
Thanks @thejimbirch. I have opened a new MR against core
- ๐ฎ๐ณIndia Akhil Babu Chengannur
Updated the test to validate the config action names.
- Status changed to Needs work
5 months ago 4:14pm 31 August 2024 - ๐ฎ๐ณIndia Akhil Babu Chengannur
Thanks @smustgrave. Alexpott added a comment in the MR to add a test to verify the valid config actions. Drupal\Core\Config\Action\ConfigActionManager::getShorthandActionIdsForEntityType gives the list of shorthand actions per entity type, but this method is protected. So @alexpot suggested to hardcode the exception message.
https://drupal.slack.com/archives/C1BMUQ9U6/p1724325139885199 - ๐ฌ๐งUnited Kingdom oily Greater London
@akhil babu I believe it is a question of changing the assertion itself. You can still 'hard coding' text in the (new) assertion and follow the advice of @alex pott by not using a Reflection method if you follow #27
- Merge request !9411Resolve #3302833 "Improve pluginnotfound exception change assertion" โ (Open) created by oily
- ๐บ๐ธUnited States smustgrave
smustgrave โ changed the visibility of the branch 3302833-improve-pluginnotfound-exception to hidden.
- ๐บ๐ธUnited States smustgrave
Hiding 9274
The MRs were relatively the same but 9274 was checking the current config action list at this point in time. 9411 checks the start of the exception without verifying the full list. The test was meant to just test the exception.
But believe feedback has been addressed.
The one failed test run seems unrelated https://git.drupalcode.org/issue/drupal-3302833/-/pipelines/273490
Line core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php ------ ------------------------------------------------------------------------ 244 Path in include_once() "vfs://drupal/sites/default/modules/module_a/module_a.post_update.php" is not a file or it does not exist. 245 Path in include_once() "vfs://drupal/sites/default/modules/module_b/module_b.post_update.php" is not a file or it does not exist.
- ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
Backported to 10.3.x as this is helpful.
Committed e9461d7 and pushed to 11.x. Thanks!
Committed and pushed e573df5fd0 to 11.0.x and 7bf317d4c4 to 10.4.x and 5fe48edb3b to 10.3.x. Thanks! -
alexpott โ
committed 5fe48edb on 10.3.x
Issue #3302833 by akhil babu, b_sharpe, alexpott, oily, smustgrave:...
-
alexpott โ
committed 5fe48edb on 10.3.x
-
alexpott โ
committed 7bf317d4 on 10.4.x
Issue #3302833 by akhil babu, b_sharpe, alexpott, oily, smustgrave:...
-
alexpott โ
committed 7bf317d4 on 10.4.x
-
alexpott โ
committed e573df5f on 11.0.x
Issue #3302833 by akhil babu, b_sharpe, alexpott, oily, smustgrave:...
-
alexpott โ
committed e573df5f on 11.0.x
-
alexpott โ
committed 43e738a6 on 11.x
Issue #3302833 by akhil babu, b_sharpe, alexpott, oily, smustgrave:...
-
alexpott โ
committed 43e738a6 on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.