Search found 14 matches

by bmason
25 Mar 2022, 22:12
Forum: Help
Topic: Mantis does not send emails based on the email notification settings
Replies: 3
Views: 3687

Re: Mantis does not send emails based on the email notification settings

Here's something I figured out that may help others -- I was struggling with trying to understand why notifications were not going out for new bugs based on access levels, even though I thought I had set up the Email Notifications settings correctly in the Configuration interface. I tried adding the...
by bmason
04 Mar 2022, 15:40
Forum: Help
Topic: Default value for due date not work
Replies: 16
Views: 8635

Re: Default value for due date not work

I have just figured out the problem is due to the custom date format bug previously reported as #0022558. When I remove the following lines from our config_inc.php, the default for due_date works. $g_short_date_format = 'd-M-Y'; $g_normal_date_format = 'd-M-Y H:i'; $g_complete_date_format = 'd-M-Y H...
by bmason
04 Mar 2022, 14:59
Forum: Help
Topic: Default value for due date not work
Replies: 16
Views: 8635

Re: Default value for due date not work

A further wrinkle: After the user submits the issue with the due_date filled in, when we try to advance the issue to the next state (using Change Status To), the due_date is cleared on the change status screen. I think I am going to submit a bug for this behavior. The users are not happy because the...
by bmason
03 Mar 2022, 22:32
Forum: Help
Topic: Default value for due date not work
Replies: 16
Views: 8635

Re: Default value for due date not work

Is this considered fixed? I am seeing a similar issue with version 2.25.2. Here's the situation: I recently set up a new MantisBT system using version 2.22.2 and set the following in config_inc.php: $g_due_date_update_threshold = 10; $g_due_date_view_threshold = 10; $g_due_date_default = '+14 days';...
by bmason
02 Feb 2022, 21:11
Forum: General Plugin Discussion
Topic: How to add other users to the ticket?
Replies: 1
Views: 15691

Re: How to add other users to the ticket?

I believe there is a way to create a custom enumerated field to store this information, then use a custom function to retrieve a list of users to populate the list. For example, I have the following custom function in my /config/custom_functions_inc.php file (which I had to create): # Construct an e...
by bmason
07 Jan 2020, 15:45
Forum: Customizations
Topic: Custom function to set default value?
Replies: 1
Views: 5334

Re: Custom function to set default value?

Let me explain further what I am trying to do. I have created a custom enumeration field named Verified By, and I am using the following custom function to populate it: function custom_function_override_enum_users() { $t_users = project_get_all_user_rows( helper_get_current_project(), ANYBODY ); $t_...
by bmason
06 Jan 2020, 19:50
Forum: Customizations
Topic: Problem with issue_create_validate?
Replies: 4
Views: 7458

Re: Problem with issue_create_validate?

Oh my goodness, thank you and sorry to bother you with such a stupid issue! I stared at that code a long time and never saw the extra r.
by bmason
06 Jan 2020, 18:05
Forum: Customizations
Topic: Problem with issue_create_validate?
Replies: 4
Views: 7458

Re: Problem with issue_create_validate?

I am a little disappointed that I have not heard from anyone about this issue, if only to tell me that my code was wrong. I now have the following in my custom_functions_inc.php file, but it is still not working: function custom_function_overrride_issue_create_validate( $p_new_issue_data ) { if ( $p...
by bmason
23 Oct 2019, 20:44
Forum: Customizations
Topic: Problem with issue_create_validate?
Replies: 4
Views: 7458

Problem with issue_create_validate?

I am sorry to bother you. I know I am a noob but this is driving me crazy. I successfully added this hook to my custom_function_inc.php file and it is working: /** * Hook to validate Validate field settings before resolving * verify that the Fixed In Version is set (if versions of the product exist)...
by bmason
23 Oct 2019, 17:08
Forum: Customizations
Topic: Custom function to set default value?
Replies: 1
Views: 5334

Custom function to set default value?

Is there a way to write a custom function that would set the default value for a custom field? I have written such a function and placed it in custom_functions_inc.php but it does not appear to be running. What would I have to name the function, and how would I invoke it in the Default Value field o...
by bmason
30 Sep 2019, 20:30
Forum: General Discussion
Topic: Viewer does not get checkboxes on print_all_bug_page.php?
Replies: 1
Views: 2850

Viewer does not get checkboxes on print_all_bug_page.php?

I am still a noob, so I don't know whether this is expected behavior, a bug, or a permissions problem. Here is the issue: When a user with Viewer access level clicks View Issues, then clicks Print Reports, the resulting Viewing Issues page does not include checkboxes in the left-most column of the d...
by bmason
23 Sep 2019, 20:38
Forum: General Discussion
Topic: Sequence for custom fields not working?
Replies: 2
Views: 3003

Re: Sequence for custom fields not working?

I think I figured it out. It appears that the Sequence number is not set globally, but is set on individual projects individually. If you select a new project to link the custom field to, and enter a Sequence number, that Sequence number will be applied to the newly linked project. It will not be re...
by bmason
23 Sep 2019, 17:54
Forum: General Discussion
Topic: Sequence for custom fields not working?
Replies: 2
Views: 3003

Sequence for custom fields not working?

I'm a noob, so it is possible I am not doing this right, but... When I am adding or editing a Custom Field on manage_custom_field_edit_page.php, when I enter a number for the Sequence, then click Link Custom Field, the number does not get saved. (The Sequence field is list in the Link Custom Field t...
by bmason
29 Aug 2019, 20:19
Forum: General Discussion
Topic: Mantis installation STILL not working for me
Replies: 20
Views: 57008

Re: Mantis installation STILL not working for me

Just wanted to say that I was experiencing similar issues with the MantisBT installation on Windows, using MySQL 8.0: Installing Database: Attempting to connect to database as user Possible Problem: Database user does not have access to the database ( The server requested authentication method unkno...