\Drupal\Core\Updater\Updater::makeBackup should probably be removed, and the code path that calls it is broken

Created on 20 April 2015, over 9 years ago
Updated 30 January 2023, over 1 year ago

Problem/Motivation

Currently the code looks like this

/**
   * Performs a backup.
   *
   * @param \Drupal\Core\FileTransfer\FileTransfer $filetransfer
   *   Object which is a child of FileTransfer.
   * @param string $from
   *   The file path to copy from.
   * @param string $to
   *   The file path to copy to.
   *
   * @todo Not implemented.
   */
  public function makeBackup(FileTransfer $filetransfer, $from, $to) {
  }

Added in #538660: Move update manager upgrade process into new authorize.php file (and make it actually work) β†’ .

Proposed resolution

Remove the method and associated code

or

No tests are breaking, yet this method is called, meaning, we need to write tests and also actually implement this.

Remaining tasks

  • Decide on removal or implementation

User interface changes

API changes

πŸ› Bug report
Status

Needs work

Version

9.5

Component
UpdateΒ  β†’

Last updated about 9 hours ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @tedbow
  • πŸ‡ΊπŸ‡ΈUnited States @dww
Created by

πŸ‡©πŸ‡°Denmark googletorp

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.

  • The Needs Review Queue Bot β†’ tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

    Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.

    Consult the Drupal Contributor Guide β†’ to find step-by-step guides for working with issues.

Production build 0.71.5 2024