View Issue Details

IDProjectCategoryView StatusLast Update
0025536mantisbtsub-projectspublic2019-09-06 11:06
Reportercproensa Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0025536: Inheritance of versions follow "inherit categories" relations, but it's not documented
Description

In the subproject relation there is a flag for "inherit categories".
The inheritance of versions from parent projects also follows that setting.

This is not well documented, and is confusing becasue the UI labels explicitly that property as "inherit categories"

TagsNo tags attached.

Relationships

related to 0025641 new Refactor project hierarchy 

Activities

fman

fman

2019-09-06 11:06

reporter   ~0062746

IMHO an specific attribute 'inherit versions' is needed.
then table mantis_project_hierarchy_table need to be changed at least in this way
CREATE TABLE mantis_project_hierarchy_table (
child_id int(10) unsigned NOT NULL,
parent_id int(10) unsigned NOT NULL,
inherit_parent tinyint(4) NOT NULL DEFAULT '0',
<b>inherit_parent_versions tinyint(4) NOT NULL DEFAULT '0',</b>

UNIQUE KEY idx_project_hierarchy (child_id,parent_id),
KEY idx_project_hierarchy_child_id (child_id),
KEY idx_project_hierarchy_parent_id (parent_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Probably a better approach will be in addition to the new column, renaming the old column to <b>'inherit_parent_categories'</b>