- Issue created by @pcate
- 🇲🇩Moldova pavelculacov Chisinau
+ 1 Problem persist.
Not always description exists in creator_roles.
$form['creator_roles']['#description'] .= "
$description"; - Status changed to Needs review
over 1 year ago 10:57am 21 June 2023 - 🇮🇳India sahil.goyal
Hi @Pcate, I have been looked to the issue, as followed the mentioned steps to reproduce the issue, but when navigating to the newly created group type, not any error message get displayed. Could you please more information about the issue, Attaching screenshot shown no error message getting displayed.
- last update
over 1 year ago 9,627 pass - 🇨🇦Canada gwvoigt London, ON 🇨🇦
I'm having the same issues on 3.1.0, this patch should check for the array key that is throwing the error before accessing it.
- 🇩🇪Germany dbielke1986
We have the same on our page, so we need to wait for the fix and stay with 1.5.
But I will try the patch, @gwvoigt. - Status changed to RTBC
over 1 year ago 8:54pm 24 July 2023 - 🇺🇸United States pcate
I can confirm the patch applies to Group 2.1 and resolves the error message.
- 🇩🇪Germany vincent.hoehn Dresden, Germany
We can confirm that the patch works with 2.1. Thanks!
- last update
over 1 year ago 9,627 pass - 🇦🇺Australia chOP
+++ b/src/Entity/Form/GroupTypeForm.php @@ -238,7 +238,11 @@ class GroupTypeForm extends BundleEntityFormBase { + if (array_key_exists('creator_roles', $form)) { + if (array_key_exists('#description', $form['creator_roles'])) {
This might be expressed more simply using
if (isset($form['creator_roles']['#description'])) {
- last update
over 1 year ago 9,627 pass - 🇨🇦Canada gwvoigt London, ON 🇨🇦
Thanks chOP, I'm adding anew patch with your suggestion
- Merge request !98Issue #3364226: Form error when no group admin role is automatically created. → (Merged) created by bbombachini
- last update
over 1 year ago Composer error. Unable to continue. - 🇧🇪Belgium gorkagr
Hi!
Thanks for the patch. I can confirm it works as well on the 3.2.0 version too.
Best, - First commit to issue fork.
- Status changed to Needs review
about 1 year ago 12:42pm 19 December 2023 - 🇧🇪Belgium kristiaanvandeneynde Antwerp, Belgium
Patch workflow is no longer supported as the project has moved to GitLab. Also, the fix suggested here would not work as, if you look about 10 lines higher, it was clearly intended as an extension of the render array element defined above. I've gone ahead and updated the MR to 2.3.x so we can get pipelines to run. Will then commit to 2.2.x/2.3.x/3.2.x/3.3.x once people confirm it's working.
- 🇧🇪Belgium gorkagr
Hi @kristiaanvandeneynde
New patch works fine at least in 3.2.2 :)
thnks -
kristiaanvandeneynde →
committed 7ef36239 on 2.3.x authored by
bbombachini →
Issue #3364226 by gwvoigt, kristiaanvandeneynde, chOP: Form error when...
-
kristiaanvandeneynde →
committed 7ef36239 on 2.3.x authored by
bbombachini →
- Status changed to Fixed
about 1 year ago 3:05pm 20 December 2023 - 🇨🇦Canada bbombachini London, ON
kristiaanvandeneynde → credited bbombachini → .
-
kristiaanvandeneynde →
committed 8e2d3ee9 on 3.3.x
Issue #3364226 by gwvoigt, kristiaanvandeneynde, chOP: Form error when...
-
kristiaanvandeneynde →
committed 8e2d3ee9 on 3.3.x
-
kristiaanvandeneynde →
committed 1d12bada on 2.2.x
Issue #3364226 by gwvoigt, kristiaanvandeneynde, chOP: Form error when...
-
kristiaanvandeneynde →
committed 1d12bada on 2.2.x
-
kristiaanvandeneynde →
committed 4034166f on 3.2.x
Issue #3364226 by gwvoigt, kristiaanvandeneynde, chOP: Form error when...
-
kristiaanvandeneynde →
committed 4034166f on 3.2.x
- Status changed to Fixed
12 months ago 3:14pm 3 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.