Migration service failed to map some topics to categories

AI-generated summary

Users dugjason and codinghorror discussed issues arising from a Drupal-to-Discourse migration where topics failed to map to categories, causing UI overlaps. dugjason initially reported that topics appeared uncategorized, leading to layout problems. While they found that disabling the “suppress uncategorized badge” setting resolved the visual overlap, dugjason noted it remains unclear why this setting should cause such issues. neil investigated and identified that the import was performed via a custom script, resulting in an empty forum_index table, which is essential for category mapping. He agreed that the UI overlap behavior appears to be a bug.

We used the hosted migration service to move existing content over from Drupal to Discourse; I spotted some cases where topics had not been mapped to a category within Discourse. This in turn caused UI issues when viewing those topics, and scrolling down the page. Take a look at http://community.datasift.com/t/i-have-been-waiting-for-historics-access-since-alpha-access-any-update-appreciated/500 and scroll down the page for an example; you’ll see the topic subject overlaps our logo.
Update: it looks like these topics may be assigned to a category, but they do not show up when listing topics in that category, nor can I change the category of these topics

So we found a resolution; it looks like the UI title overlap issue was down to the “suppress uncategorized badge” setting being on; we switched this off, and we saw the badge return to underneath the topic title, and the overlap issue disappeared.
It still seems like suppressing the uncategorized badge should not cause this UI overlap issue.

If you are a Discourse hosted customer, these issues may be specific to your import. @neil can you advise?

@dugjason Your import from Drupal was done using your own custom script. I see in your sql dump that the forum_index table is completely empty, which is normally where we find the category that each topic belongs in. So… I don’t know what happened.

Yes this sounds like a bug.