Drupal 10 compatibility

Created on 10 January 2023, over 1 year ago
Updated 8 August 2023, 11 months ago

Problem/Motivation

Single node is not being exported when Node ID is being used. This is because the function file_save data has been removed from Drupal 10.

file_save_data($data, NodeExport::getFileUri($format), FileSystemInterface::EXISTS_REPLACE)

Steps to reproduce

admin->content->export

Proposed resolution

The function file_save_data() is not being called in the NodeExport.php file. It may have been deprecated in D10 or may have been replaced with another function. Should look for an alternative function/class and replace the deprecated function.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Node export

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024