- Issue created by @alexharries
- Merge request !23Add use statement to prevent WSODs on /admin/config/people/saml/saml β (Closed) created by alexharries
- π¬π§United Kingdom alexharries
Patch file in case it's useful to anyone :)
/A
- πΈπͺSweden erik.erskine
+++ b/src/Form/SamlauthSamlConfigureForm.php +use Drupal\key\Plugin\KeyPluginBase;
This bit looks good. I had the same problem and came to the same fix.
- 'sp_name_id_format', + // DON'T SAVE sp_name_id_format HERE! If it was set to "Custom", this + // field will have a value of * and will overwrite the code which + // correctly sets the value in src/Form/SamlauthConfigureTrait.php + // in setNameID(). +// 'sp_name_id_format',
This bit looks unrelated, perhaps a separate issue?
- Status changed to Needs work
about 2 months ago 9:16pm 31 October 2024 - πΊπΈUnited States joelsteidl
Thanks for the patch @alexharries
Just noting that this solved the used for me as well. I agree with @erik.erskine wondering what purpose the added use statement serves.
-
roderik β
committed 4dda54ed on 8.x-3.x
Issue #3471040: Add missing use statement for KeyPluginBase
-
roderik β
committed 4dda54ed on 8.x-3.x
- π³π±Netherlands roderik Amsterdam,NL / Budapest,HU
(Oops, forgot names in commit message. But credited while fixing.)
Thanks @alesharries. Again, dumb mistake when refactoring the form.
The unrelated bit is from π Bug and confusing behaviour when trying to set a custom NameID format which is already known to the module Active and has been fixed in there / should have been pushed to that PR, instead of this one.