View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0010411||mantisbt||bugtracker||public||2009-04-27 05:37||2018-10-16 23:41|
|Target Version||2.18.0||Fixed in Version||2.18.0|
|Summary||0010411: Changes to project_view_state and view_state to create only private projects|
I needed to create only private projects and forbid to create public projects.
However in the code sometime it is used view_state where I expected to find project_view_state and viceversa.
In manage_proj_create_page.php i changed:
In manage_proj_edit_page.php i changed:
In manage_proj_page.php i changed:
And, viceversa, in bug_view_page.php and bug_view_advanced_page.php i changed:
|Tags||No tags attached.|
the same for bug_view_inc.php (included for example in the page bug_reminder_page.php):
MantisBT: master 25eec2cf
|Fix view state references
At the moment we have two configs that related to view state enum:
- `view_state` - which is used for issue and issue notes view state.
- `project_view_state` - which is used for projects.
This commit fixes cases where the wrong view state was used for the scenario at hand.
In the future, we may want to consider have a different view state enum for issues vs. issue notes.
|mod - bug_actiongroup_page.php||Diff File|
|mod - bug_change_status_page.php||Diff File|
|mod - manage_proj_create_page.php||Diff File|
|mod - manage_proj_edit_page.php||Diff File|