View Issue Details

IDProjectCategoryView StatusLast Update
0023385mantisbtotherpublic2017-10-01 14:55
Reporterhelfy022 Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionno change required 
Product Version2.5.1 
Summary0023385: project default - Inherit Global Categories
Description

Hello,

How does one ensure that the "Inherit Global Categories" checkbox is unchecked by default in the browser page for creating a new project (Manage-->Manage Projects-->Add Project)?

The mantis_project_table table default appears to be zero:

mysql> DESCRIBE mantis_project_table;
+----------------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------------+------------------+------+-----+---------+----------------+
| id | int(10) unsigned | NO | PRI | NULL | auto_increment |
| name | varchar(128) | NO | UNI | | |
| status | smallint(6) | NO | | 10 | |
| enabled | tinyint(4) | NO | | 1 | |
| view_state | smallint(6) | NO | MUL | 10 | |
| access_min | smallint(6) | NO | | 10 | |
| file_path | varchar(250) | NO | | | |
| description | longtext | NO | | NULL | |
| category_id | int(10) unsigned | NO | | 1 | |
| inherit_global | tinyint(4) | NO | | 0 | |
+----------------+------------------+------+-----+---------+----------------+
10 rows in set (0.00 sec)

and I'm eager to understand how that same default can always be shown in the browser.

Please let me know if anything is unclear.

Thanks,
Ryan.

TagsNo tags attached.

Activities

atrol

atrol

2017-09-21 11:39

developer   ~0057777

The check box is enabled on page manage_proj_create_page.php

<input type="checkbox" class="ace" id="project-inherit-global" name="inherit_global" checked="checked">

helfy022,

This is not a bug or feature request for MantisBT (you are asking for help on understanding source of MantisBT). I am therefore resolving this issue as "no change required".

Please use the forums to get support on customizing and using MantisBT (refer to http://www.mantisbt.org/support.php for links and further details).

helfy022

helfy022

2017-09-21 11:53

reporter   ~0057780

Hi Atrol,

Thanks for the quick and specific feedback. Just to confirm, is there no way to update the customizable config to set the default as unchecked in the browser?

Thanks,
Ryan.

atrol

atrol

2017-09-21 13:41

developer   ~0057781

is there no way to update the customizable config to set the default as unchecked in the browser?

You can change source code of manage_proj_create_page.php or you can write a plugin for it.

helfy022

helfy022

2017-09-21 13:45

reporter   ~0057782

Hi Atrol,

Thanks very much. Please feel free to close this bug.

Ryan.