I have an error when trying to save a new name.
The error is related to the $this->logger('file_entity')->info($this->t('File %old renamed to %new'), $log_args); line.

Drupal 11.4.4

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

astonvictor created an issue. See original summary.

astonvictor’s picture

Issue summary: View changes

astonvictor’s picture

Status: Active » Needs review
astonvictor’s picture

Issue summary: View changes
vinodhini.e’s picture

Hi,

Tested on Drupal 11.4.2 and was able to reproduce the issue when saving a renamed file.

Applied MR !8 and retested the file rename functionality. After the change, the file was renamed successfully and saved as expected, with no errors encountered.

+1 RTBC.

Thanks.

cezara’s picture

Status: Needs review » Fixed

Merged in commit caca5503 and available in the latest 1.0.x-dev release.

Thank you, @astonvictor, for the fix and @vinodhini.e for testing and confirming!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.