Page MenuHomePhabricator

Task 153305 may be miscategorized
Closed, ResolvedPublic5 Estimated Story Points

Description

As of 2017-01-05 (with data from Jan 4 dump), this task is categorized as "NewWikitextEditor". However, it should be categorized TR1 (it's in the TR1 column; it had a category parent of NWE but that was deleted on 2017-01-03).

Initial debugging shows that is has always been categorized NewWikitextEditor, from creation at 2016-12-16 to now at 2017-01-05, with the "Provide a Beta Feature ..." category_title. This is internally inconsistent with phab_parent_category_edge, which indicates which task has which ancestor category. That table shows that it had that ancestor from 2016-08-05 (months before the task was created) to 2017-01-03. Q1: why are there records in that table predating task creation? Q2: Why does the category_title in task_on_date show that category on 2017-01-04 and -05, after the relationship ends in the other table?

select * from phab_parent_category_edge where task_id = 153305 order by date;

scope |        date         | task_id | category_id 
-------+---------------------+---------+-------------
 ve    | 2016-08-05 00:00:00 |  153305 |      141149
 ve    | 2016-08-06 00:00:00 |  153305 |      141149
 ve    | 2016-08-07 00:00:00 |  153305 |      141149
 ve    | 2016-08-08 00:00:00 |  153305 |      141149
[...]
 ve    | 2016-12-31 00:00:00 |  153305 |      141149
 ve    | 2017-01-01 00:00:00 |  153305 |      141149
 ve    | 2017-01-02 00:00:00 |  153305 |      141149
 ve    | 2017-01-03 00:00:00 |  153305 |      141149
(152 rows)

Event Timeline

Checking today, this task is correctly categorized as TR1: Releases, so presumably some other fix took care of this as well.