Drupal 10 compatibility

Created on 10 January 2023, almost 2 years ago
Updated 8 August 2023, over 1 year 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.71.5 2024