- Issue created by @jaimeah
- last update
about 1 year ago 36 pass - Status changed to RTBC
11 months ago 10:20am 16 January 2024 - π΅πΉPortugal joum Porto
After importing my encryption-relevant configuration on a unencrypted database for testing, I was getting an Ajax console error:
" An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /admin/config/system/field-encrypt/entity-types?ajax_form=1 StatusText: OK ResponseText: Warning: array_flip(): Can only flip string and integer values, entry skipped in /var/www/html/docroot/core/lib/Drupal/Core/Entity/EntityStorageBase.php on line 278 The website encountered an unexpected error. Please try again later."
This prevented me from altering the entity field encryption configuration.
I've applied the patch and tested again on Drupal 10.1.6 and I no longer get this error.
I propose moving to RTBC.
- Issue was unassigned.
- Merge request !51MR of patch #3 with whitespace fix https://www.drupal.org/project/field_encrypt/issues/3388672 β (Merged) created by ptmkenny
- π―π΅Japan ptmkenny
Looks like the types are wrong somewhere, causing a phpstan failure. This needs to be fixed before commit.
- π¬π§United Kingdom alexpott πͺπΊπ
Also I think we should be filtering in the query and not looping over everything after - see comment on MR.
-
alexpott β
committed dd97efce on 3.2.x authored by
ptmkenny β
Issue #3388672 by ptmkenny, jaimeah, alexpott, joum: After Setting the...
-
alexpott β
committed dd97efce on 3.2.x authored by
ptmkenny β
-
alexpott β
committed 7c9b4492 on 3.1.x authored by
ptmkenny β
Issue #3388672 by ptmkenny, jaimeah, alexpott, joum: After Setting the...
-
alexpott β
committed 7c9b4492 on 3.1.x authored by
ptmkenny β
Automatically closed - issue fixed for 2 weeks with no activity.