Search found 9 matches

by bmason
Jan 07, 2020 10:45 am
Forum: Customizations
Topic: Custom function to set default value?
Replies: 1
Views: 1470

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
Jan 06, 2020 2:50 pm
Forum: Customizations
Topic: Problem with issue_create_validate?
Replies: 4
Views: 2228

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
Jan 06, 2020 1:05 pm
Forum: Customizations
Topic: Problem with issue_create_validate?
Replies: 4
Views: 2228

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
Oct 23, 2019 3:44 pm
Forum: Customizations
Topic: Problem with issue_create_validate?
Replies: 4
Views: 2228

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
Oct 23, 2019 12:08 pm
Forum: Customizations
Topic: Custom function to set default value?
Replies: 1
Views: 1470

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
Sep 30, 2019 3:30 pm
Forum: General Discussion
Topic: Viewer does not get checkboxes on print_all_bug_page.php?
Replies: 1
Views: 1227

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
Sep 23, 2019 3:38 pm
Forum: General Discussion
Topic: Sequence for custom fields not working?
Replies: 2
Views: 1171

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
Sep 23, 2019 12:54 pm
Forum: General Discussion
Topic: Sequence for custom fields not working?
Replies: 2
Views: 1171

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
Aug 29, 2019 3:19 pm
Forum: General Discussion
Topic: Mantis installation STILL not working for me
Replies: 19
Views: 24801

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...