Problem/Motivation

The function file_save_data() has been deprecated in D9 and no longer present in D10. Function located at

salesforce/modules/salesforce_example/src/EventSubscriber/SalesforceExampleSubscriber.php (line 168)

Proposed resolution

Replace file_save_data() with the service \Drupal::service('file.repository')->writeData()

CommentFileSizeAuthor
#4 3404815.patch894 bytessandipta

Issue fork salesforce-3404815

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sijumpk created an issue. See original summary.

roshni27 made their first commit to this issue’s fork.

roshni27’s picture

I am working on this.

sandipta’s picture

StatusFileSize
new894 bytes

roshni27’s picture

Status: Active » Needs review

chetan 11 made their first commit to this issue’s fork.

keshavv’s picture

Assigned: Unassigned » keshavv
keshavv’s picture

Assigned: keshavv » Unassigned

  • AaronBauman committed 193f3308 on 5.0.x authored by sandipta
    Issue #3404815 by sandipta: Remove Deprecated function  file_save_data...
aaronbauman’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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