ETA and Product Build
Posted: 23 Apr 2010, 08:36
[using: mantisbt 1.2.0rc2]
Hello,
If someone want to enable ETA without enabling product build or projections (or any combination) it is not possible unless you enable the 3 of them.
I'm not sure if they are close related but for me it seems a bug...
The problem seems in the code "core/columns_api.php" at line 48:
Those "continue 2" should be just "continue" as they skip the whole foreach as well. In other words, if I have not enabled product_build will skip the verification of eta and projection (it seems that product_build is checked first).
The quick fix without modifying any code is to enable the 3 of them.
Hello,
If someone want to enable ETA without enabling product build or projections (or any combination) it is not possible unless you enable the 3 of them.
I'm not sure if they are close related but for me it seems a bug...
The problem seems in the code "core/columns_api.php" at line 48:
Code: Select all
case 'eta':
if( config_get( 'enable_eta' ) == OFF ) {
continue 2;
}
case 'projection':
if( config_get( 'enable_projection' ) == OFF ) {
continue 2;
}
case 'build':
if( config_get( 'enable_product_build' ) == OFF ) {
continue 2;
}The quick fix without modifying any code is to enable the 3 of them.