Page MenuHomePhabricator

Migrate Project workboard to modular transactions
ClosedPublic

Authored by amckinley on May 23 2017, 7:07 PM.
Tags
None
Referenced Files
F14093818: D18004.diff
Mon, Nov 25, 12:59 PM
Unknown Object (File)
Fri, Nov 22, 7:07 PM
Unknown Object (File)
Thu, Nov 21, 12:46 PM
Unknown Object (File)
Sun, Nov 17, 7:07 AM
Unknown Object (File)
Thu, Nov 7, 7:44 AM
Unknown Object (File)
Oct 15 2024, 5:04 PM
Unknown Object (File)
Oct 10 2024, 12:12 AM
Unknown Object (File)
Sep 26 2024, 1:38 PM
Subscribers

Details

Summary

This was interesting, because there were a mix of callsites using transactions and others that just set the property on the Project object. I made everything consistent in using transactions to change this property. I also found an implementation of getTitle() that I don't think is ever being invoked since shouldHide() is returning true, but I migrated it anyway.

Test Plan

Unit tests pass + enabling/disabling workboards (and importing).

Diff Detail

Repository
rP Phabricator
Branch
project-workboard (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 17213
Build 23041: Run Core Tests
Build 23040: arc lint + arc unit

Event Timeline

I think these just didn't get converted when we swapped to transactions originally, your rewrites look correct to me.

This revision is now accepted and ready to land.May 23 2017, 7:18 PM
This revision was automatically updated to reflect the committed changes.