- ๐ฎ๐ณIndia anup.singh
anup.singh โ made their first commit to this issueโs fork.
- last update
over 1 year ago 32 pass - last update
over 1 year ago 32 pass - First commit to issue fork.
- last update
about 1 year ago 32 pass - Status changed to Needs work
about 1 year ago 6:05pm 6 March 2024 - ๐จ๐ฆCanada adriancid Montreal, Canada
I tried to merge but the pipeline failed
- Status changed to Needs review
about 1 year ago 6:40am 7 March 2024 - ๐ฌ๐งUnited Kingdom scott_euser
Thanks for trying @adriancid (and thanks for all your work getting the other issues in these last days!). This one is ready again, no more phpcs failure. Phpstan failures are unrelated and exist on 3.x branch as well so we can leave those to ๐ Phpstan + Cspell + Drupal 11 compatibility fixes RTBC to prep for D11.
- Status changed to RTBC
8 months ago 1:03pm 6 August 2024 - ๐บ๐ธUnited States mlncn Minneapolis, MN, USA
Wow! Code looks good, and works in limited testing.
- First commit to issue fork.
- ๐ฌ๐งUnited Kingdom andreastkdf
I can also confirm that this works great; I managed to see the Translation overview and get to the translation form! Thank you! BUT when on the actual translation form, an error is now showing:
Drupal\form_mode_manager_theme_switcher\Theme\FormModeThemeNegociator->isApplicable() (line 93 of modules/contrib/form_mode_manager/modules/form_mode_theme_switcher/src/Theme/FormModeThemeNegociator.php).
We need a check on $route->getDefault('_entity_form') inside the str_replace in case the route default is not set (for example, when adding a translation) and $route->getDefault('_entity_form') returns NULL which causes the deprecation error above.
Just pushed a commit to the MR containing a check that fixes the deprecated error.
- ๐ฌ๐งUnited Kingdom andreastkdf
Full error (sorry missed the first important bit of it on my previous comment):
Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in Drupal\form_mode_manager_theme_switcher\Theme\FormModeThemeNegociator->isApplicable() (line 93 of modules/contrib/form_mode_manager/modules/form_mode_theme_switcher/src/Theme/FormModeThemeNegociator.php).
- ๐ฌ๐งUnited Kingdom andreastkdf
Changed back to targetting 8.x-2.x-dev as the tests failed (when using 3.x.dev they were ruining on D11, and the module is not compatible)
some one with access should re-trigger the test manually
- ๐ฌ๐งUnited Kingdom scott_euser
scott_euser โ changed the visibility of the branch 3.x to hidden.
-
adriancid โ
committed 88a0dd18 on 3.x authored by
scott_euser โ
Issue #3080322: Content Translation support
-
adriancid โ
committed 88a0dd18 on 3.x authored by
scott_euser โ
- ๐ฌ๐งUnited Kingdom scott_euser
Thanks! Shall I sort out the phpstan issues or you working on that?
- ๐จ๐ฆCanada adriancid Montreal, Canada
If you can fix them will be great, can you take a quick look? As I want to release a new version.
- ๐ฌ๐งUnited Kingdom scott_euser
Sure give me a couple hours, will do once I get my daughter to sleep
- ๐ฌ๐งUnited Kingdom scott_euser
Too muddled up being target 3x merge, starting new issue here to sort ๐ Fix phpstan errors Active . Marking fixed, but unable to do credits myself, so will leave that to you to go through contributors. Will update follow-up shortly with MR
- ๐จ๐ฆCanada adriancid Montreal, Canada
- ๐ฌ๐งUnited Kingdom scott_euser
scott_euser โ changed the visibility of the branch 3080322-phpstan-fixes to hidden.
- ๐ฌ๐งUnited Kingdom scott_euser
Yeah working on it here: https://www.drupal.org/project/form_mode_manager/issues/3490537 ๐ Fix phpstan errors Active as noted above.
I think maybe this issue is the reason; but its not a quick change so moved to a follow-up. Probably this issue was original targeting an old branch and the merge request was changed target without retest resulting in a bunch of issues. Just re-running the test suite over there, but should be MR ready soon.
- ๐ฌ๐งUnited Kingdom scott_euser
Okay these are both ready for you:
- ๐ Fix phpstan errors Active - Fixes the phpstan errors
- ๐ Improve configuration page UX Active - Minor UX nitpicks in the configuration form
Thanks very much!
Automatically closed - issue fixed for 2 weeks with no activity.