Fix accidental rollback of writeFile() fix

Created on 18 January 2023, over 1 year ago

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 πŸ› Add a lock around retrieving upstream files Fixed 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.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada deviantintegral

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.69.0 2024