I updated from beta 16 to beta 17, ran update, emptied all caches from the database, backed up the database, then ran a full export in the configuration manager. This did not produce a file, and resulted in this error:

Recoverable fatal error: Argument 1 passed to Drupal\file\FileUsage\DatabaseFileUsageBackend::listUsage() must implement interface Drupal\file\FileInterface, boolean given, called in /PATH_TO/modules/yamlform/src/Plugin/YamlFormElement/ManagedFile.php on line 481 and defined in Drupal\file\FileUsage\DatabaseFileUsageBackend->listUsage() (line 98 of core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php).

I downgraded to beta 16, ran update, same database backup procedure, then a full export in the configuration manager worked normally.

CommentFileSizeAuthor
#3 fatal_error_exporting-2805763-3.patch672 bytesjrockowitz

Comments

echoz created an issue. See original summary.

echoz’s picture

Issue summary: View changes
jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new672 bytes

Darn. I forgot to handle file uris that are not found in the files table.

The attached patch should pass and I will tag a new release since this is a fatal error.

  • jrockowitz committed e50f8e1 on 8.x-1.x
    Issue #2805763: fatal error exporting configuration after beta 17 update
    
jrockowitz’s picture

Status: Needs review » Fixed

Thanks for reporting this issue so that I could fix it ASAP. I tagged a new release.

echoz’s picture

@jrockowitz, thanks for this excellent module! The entire presentation of this project is over the top impressive :-)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.