Page MenuHomePhabricator

Migrate Project names to modular transactions
ClosedPublic

Authored by amckinley on May 18 2017, 12:01 AM.
Tags
None
Referenced Files
F18826632: D17947.id43164.diff
Fri, Oct 24, 4:58 AM
F18817358: D17947.id.diff
Tue, Oct 21, 2:55 PM
F18809476: D17947.id.diff
Sun, Oct 19, 2:21 PM
F18779559: D17947.id43163.diff
Sat, Oct 11, 2:28 PM
F18749117: D17947.id43163.diff
Sat, Oct 4, 2:25 AM
F18747885: D17947.id43164.diff
Fri, Oct 3, 6:07 PM
F18626933: D17947.diff
Sep 16 2025, 2:50 AM
F18600115: D17947.diff
Sep 13 2025, 9:01 AM
Subscribers

Details

Summary

Also changes access modifiers on PhabricatorProjectTransactionEditor and sets up storage for applyExternalEffects.

Test Plan

Created new projects, attempted to create without name, with too long of a name, and with a name that conflicts with other projects and observed expected errors.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This all looks good to me.

src/applications/project/xaction/PhabricatorProjectNameTransaction.php
21

In theory, you could also $this->generateOldValue($object) to avoid needing to provide $storage, but I think your fix here is actually cleaner.

This revision is now accepted and ready to land.May 18 2017, 12:06 AM
This revision was automatically updated to reflect the committed changes.