- Issue created by @couloir007
- Merge request !30Fixes #3417201: The callbacks must be serializable. β (Open) created by solideogloria
- Status changed to Needs review
10 months ago 8:16pm 1 February 2024 This is a patch that will apply for users on 4.1.0-beta2. The MR patch won't apply unless you're on dev.
- πΊπΈUnited States nateb Pittsburgh, Pennsylvania, USA
The patch in #8 works for me using Audit Files 4.1.0-beta2 in Drupal 10.3, PHP 8.3.8, nginx 1.25.4, MySQL 8.3.0
- Status changed to RTBC
3 months ago 7:45pm 22 August 2024 - Status changed to Needs work
about 2 months ago 11:03am 19 September 2024 - π¬π§United Kingdom welly
Not sure if it's directly related to the patch or something else but when I apply the patch and go from "Which file will be the one the others are merged into?" to the confirmation step, I get an error reporting:
The website encountered an unexpected error. Try again later.InvalidArgumentException: Field field_name is unknown. in Drupal\Core\Entity\ContentEntityBase->getTranslatedField() (line 616 of core/lib/Drupal/Core/Entity/ContentEntityBase.php). Drupal\Core\Entity\ContentEntityBase->get('field_name') (Line: 657) Drupal\Core\Entity\ContentEntityBase->set('field_name', Array) (Line: 184) Drupal\auditfiles\Auditor\AuditFilesMergeFileReferences->auditfilesMergeFileReferencesUpdateFileFields(1, 2) (Line: 133) Drupal\auditfiles\Auditor\AuditFilesMergeFileReferences->listenerMergeFiles(Object, 'Drupal\auditfiles\Event\AuditFilesMergeFilesEvent', Object) call_user_func(Array, Object, 'Drupal\auditfiles\Event\AuditFilesMergeFilesEvent', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object) (Line: 54) Drupal\auditfiles\Batch\AuditFilesMergeFileReferencesBatchProcess->dispatch(Array) (Line: 43) Drupal\auditfiles\Batch\AuditFilesMergeFileReferencesBatchProcess::create(Object, Object, Array) (Line: 296)
Moving back to "Needs work", unless this is a new/different issue.