View Issue Details

IDProjectCategoryView StatusLast Update
0030812mantisbtotherpublic2022-08-10 23:30
Reportersandyj Assigned Todregad  
Status assignedResolutionopen 
Summary0030812: "Copy Categories From" copies global categories

When using the "Copy Categories From" button when editing a project, all Global (All Projects) categories as well as local categories are copied across.

Tested this with a project that has "Inherit Global Categories" checked as well as when this is unchecked. In both cases Global categories are copied.

Only Local categories should be copied across. Possibly when "Inherit Global Categories" is UNchecked you may want to include Global categories but ideally they just check the box rather than copy them from another project.

Steps To Reproduce

Edit a project
"Copy Categories From" another project.
You'll see Global categories are copied as local categories.

TagsNo tags attached.
Attached Files
image.png (168,915 bytes)   
image.png (168,915 bytes)   
image-2.png (146,769 bytes)   
image-2.png (146,769 bytes)   
image-3.png (157,604 bytes)   
image-3.png (157,604 bytes)   




2022-08-04 13:03

developer   ~0066859

Only Local categories should be copied across

I agree.




2022-08-05 12:44

developer   ~0066868

Following discussion with @atrol in the original PR, I just submitted an alternative approach providing more flexibility by letting the user decide whether the copy operation should be restricted to the source project's "local" categories, excluding the global ones as well as those inherited from the parent project(s) or not.