1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00

Fix issue where 'changeType' is not marshalled across Conduit

Summary: This leads to the "Change" column always showing "Unknown".

Test Plan: "Change" column now shows, e.g., "Contents Modified".

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D7041
This commit is contained in:
epriestley 2013-09-19 11:57:23 -07:00
parent 916c4cb78a
commit 3b5f0276d1

View file

@ -168,6 +168,7 @@ final class DiffusionPathChange {
'commit' => $commit_dict,
'commitData' => $commit_data_dict,
'fileType' => $this->getFileType(),
'changeType' => $this->getChangeType(),
'targetPath' => $this->getTargetPath(),
'targetCommitIdentifier' => $this->getTargetCommitIdentifier(),
'awayPaths' => $this->getAwayPaths());
@ -186,6 +187,7 @@ final class DiffusionPathChange {
->setCommit($commit)
->setCommitData($commit_data)
->setFileType($dict['fileType'])
->setChangeType($dict['changeType'])
->setTargetPath($dict['targetPath'])
->setTargetCommitIdentifier($dict['targetCommitIdentifier'])
->setAwayPaths($dict['awayPaths']);