View Issue Details

IDProjectCategoryView StatusLast Update
0025506mantisbtsub-projectspublic2019-02-24 05:44
Reportercproensa Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version2.20.0 
Summary0025506: configuration 'subprojects_enabled' = OFF does not seem to work
Description

Seems like the option subprojects_enabled only affects to the manage project pages, so that when it's OFF, there no option to manage subprojects.
However, the existing subprojects are still accesible, and can be operated on normally.
Is that the intended behaviour?

Can we derectly remove this option? becuse at the current state, does not add any value.

TagsNo tags attached.

Relationships

related to 0020348 closedvboctor Provide an option to disable sub-projects 

Activities

atrol

atrol

2019-02-22 02:08

developer   ~0061550

Last edited: 2019-02-22 02:09

The current concept of sub-projects is questionable, not well documented, decreases performance and there are certainly bugs in it.
I remember that @vboctor had the feature on the deprecating / obsoleting list, but I commented that it can't be removed because of existing installations.
I assume that @vboctor introduced the option to avoid dealing with sub-project issues on MantisHub.

cproensa

cproensa

2019-02-22 04:27

developer   ~0061551

I assume that @vboctor introduced the option to avoid dealing with sub-project issues on MantisHub.

OK, that makes sense, if this option is to avoid the creation of subprojects by the administrators.
In that case, the documentation should be updated to make it clear.

The current concept of sub-projects is questionable, not well documented, decreases performance and there are certainly bugs in it.
I remember that @vboctor had the feature on the deprecating / obsoleting list, but I commented that it can't be removed because of existing installations.

i already commented on that topic too, that there is a severe functionality regression if removing it.

vboctor

vboctor

2019-02-23 18:02

manager   ~0061555

Turning off sub-projects is the logical goal of the config option. At one point, it may be just hiding sub-projects and disabling their creation, but in the future, we could add checks to remove extra/expensive queries that support sub-projects, etc. Hence, I wouldn't document that it just disables creation of sub-projects, but this can evolve over time. I would hope that we have this feature disable by default for future versions.

cproensa

cproensa

2019-02-24 05:44

developer   ~0061559

At one point, it may be just hiding sub-projects and disabling their creation, but in the future, we could add checks to remove extra/expensive queries that support sub-projects, etc. Hence, I wouldn't document that it just disables creation of sub-projects, but this can evolve over time

Then document that!
Whatever it may do in the future, explain what it does now.