- 🇨🇦Canada nubeli
Looks like this is unlikely to be fixed in the 7.x-1,x branch. Thank you Tom and Manuel for the patches. I ended up using the batched process patch ( https://www.drupal.org/files/issues/2018-05-31/2314327-16.patch → ) in my patch to the Backdrop port of this module: https://github.com/backdrop-contrib/field_encrypt/pull/6/files. It is almost identical so I thought I'd share it here. I had to fix some issues with that patch:
- It should be comparing this:
$vid == $result->revision_id
, not$id == $result->revision_id
. In the latter it never populates thefield_data_*
table - I have it checking if the entity exists in case an entity was deleted but didn't delete the record in the table (which happened to me).
- There is one
field_encrypt_encrypt()
call that has a fatal error because it's missing a line to load the inc file. Should havemodule_load_include('inc', 'field_encrypt', 'field_encrypt');
above the foreach. - I also added some checks for
db_table_exists()
because you never know.
After that it ran fine, and I believe it should work fine for Drupal 7 as well. I had a client that was using the old beta and there is no working upgrade path for the 7.x-1.x branch so I decided to incorporate it into the Backdrop port so others can benefit as well.
- It should be comparing this:
- Status changed to Closed: outdated
29 days ago 8:08am 12 March 2025 - 🇯🇵Japan ptmkenny
Drupal 7 is EOL (end of life) so 7.x issues are now being closed.