Problem/Motivation

In #3282524: Fix writeFile() returning TRUE even if a file has no size we fixed a bug where writeFile() was returning TRUE even if a file was empty. In the refactor at #3282542: Add a lock around retrieving upstream files to add a lock, I used the original code as I filed both issues at the same time. When updating, I missed ensuring that fix was in.

This was missed because we only add a new method. The original writeFile() with the fix is there unchanged, because it's protected and needs to be kept until a 3.0 release.

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

deviantintegral created an issue. See original summary.

deviantintegral’s picture

Assigned: deviantintegral » Unassigned
Status: Active » Needs review

smustgrave’s picture

Status: Needs review » Fixed

Good catch!

Status: Fixed » Closed (fixed)

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