mirror of
https://we.phorge.it/source/phorge.git
synced 2025-03-20 00:00:10 +01:00
Fix an issue with extended policy checks and @mentions
Summary: Ref T8463. Test Plan: - Created a new revision via web UI with a username `@mention` in the summary and no repository. - Prior to patch, hit a "not attached" error. - After patch, no error. - Created a new web UI revision, as above, but with a repository; saw repository work fine. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T8463 Differential Revision: https://secure.phabricator.com/D13205
This commit is contained in:
parent
9a9df74ddb
commit
2e0f189950
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ final class DifferentialRevision extends DifferentialDAO
|
|||
->setViewPolicy($view_policy)
|
||||
->setAuthorPHID($actor->getPHID())
|
||||
->attachRelationships(array())
|
||||
->attachRepository(null)
|
||||
->setStatus(ArcanistDifferentialRevisionStatus::NEEDS_REVIEW);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue