Page MenuHomePhabricator

When users choose a default project icon, make a permanent file
ClosedPublic

Authored by epriestley on Jul 11 2016, 3:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 8, 6:17 AM
Unknown Object (File)
Apr 15 2026, 11:06 AM
Unknown Object (File)
Apr 15 2026, 11:06 AM
Unknown Object (File)
Apr 3 2026, 12:08 AM
Unknown Object (File)
Apr 2 2026, 9:32 PM
Unknown Object (File)
Apr 1 2026, 7:48 PM
Unknown Object (File)
Mar 11 2026, 11:15 PM
Unknown Object (File)
Mar 11 2026, 1:07 AM
Subscribers
None

Details

Summary

Fixes T10907. As written, this workflow will incorrectly reuse a temporary file if one exists.

Instead, make a new permanent file.

(Storage is still shared, so this usually will not actually create a copy of the file's data.)

Test Plan
  • Set a project's icon by clicking first button in "Use Picture" row.
  • Before patch: temporary image was reused.
  • After patch: new permanent file is generated.

Diff Detail

Repository
rP Phabricator
Branch
file1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 13016
Build 16631: Run Core Tests
Build 16630: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to When users choose a default project icon, make a permanent file.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jul 11 2016, 3:27 PM
This revision was automatically updated to reflect the committed changes.