When I assign a task to the milestone of a project and then archive the milestone, the task will show up with no related projects in the UI. I first noticed this in the search UI, but it affects also the task view UI, where next to project there is just no text at all (if there is really no project assigned, then Phabricator would print "None").
I would expect that it still be tagged with the parent project wherever it is shown.