Assign category to a content. Then export the space. Then import the exported space to a different space. Then View details and look at the categories. No categories are set.
Note: There is a wider task of dealing with other types of data, but this bug deals only with the export/import within the same repository.