Fix two migration issues with Maniphest
Summary: The new editor saves tasks before applying transactions, so fields need default values. Also, I goofed the table name. Auditors: btrahan
This commit is contained in:
@@ -7,7 +7,7 @@ $rows = new LiskRawMigrationIterator($conn_w, 'maniphest_transaction');
|
|||||||
$conn_w->openTransaction();
|
$conn_w->openTransaction();
|
||||||
|
|
||||||
// NOTE: These were the correct table names at the time of this patch.
|
// NOTE: These were the correct table names at the time of this patch.
|
||||||
$xaction_table_name = 'maniphest_transaction_pro';
|
$xaction_table_name = 'maniphest_transactionpro';
|
||||||
$comment_table_name = 'maniphest_transaction_comment';
|
$comment_table_name = 'maniphest_transaction_comment';
|
||||||
|
|
||||||
foreach ($rows as $row) {
|
foreach ($rows as $row) {
|
||||||
|
|||||||
@@ -18,9 +18,9 @@ final class ManiphestTask extends ManiphestDAO
|
|||||||
protected $ownerPHID;
|
protected $ownerPHID;
|
||||||
protected $ccPHIDs = array();
|
protected $ccPHIDs = array();
|
||||||
|
|
||||||
protected $status;
|
protected $status = ManiphestTaskStatus::STATUS_OPEN;
|
||||||
protected $priority;
|
protected $priority;
|
||||||
protected $subpriority;
|
protected $subpriority = 0;
|
||||||
|
|
||||||
protected $title;
|
protected $title;
|
||||||
protected $originalTitle;
|
protected $originalTitle;
|
||||||
|
|||||||
Reference in New Issue
Block a user