Search found 7790 matches

by atrol
Jul 07, 2020 1:05 pm
Forum: Help
Topic: How to delete attachment (but not note)?
Replies: 1
Views: 114

Re: How to delete attachment (but not note)?

For each attachment there is a red trash can button on the right upper corner
by atrol
Jul 07, 2020 12:48 pm
Forum: Help
Topic: Mantis 2.x: disabling two-step login
Replies: 1
Views: 81

Re: Mantis 2.x: disabling two-step login

Information in the following issue and the related ones might help some way, see https://mantisbt.org/bugs/view.php?id=23691
by atrol
Jun 29, 2020 3:51 pm
Forum: Help
Topic: Calculate value for custom field on updating issue
Replies: 4
Views: 314

Re: Calculate value for custom field on updating issue

Should work, didn't try class MyPluginPlugin extends MantisPlugin { function hooks(){ return array( 'EVENT_UPDATE_BUG' => 'update', ); } function update( $p_issue_id, $p_bug_data, $p_bugnote_text ) { $t_id = custom_field_get_id_from_name('<my_custom_field_name>'); custom_field_set_value( $t_id , $p_...
by atrol
Jun 28, 2020 3:47 pm
Forum: Help
Topic: Custom function for set value in a custom field
Replies: 3
Views: 253

Re: Custom function for set value in a custom field

I didn't check why it doesn't work, because using this custom function is no good way to implement what you want. The function is meant to validate data, it's not meant to change data. Keep also in mind, that custom functions are deprecated and might be removed in future MantisBT versions. The right...
by atrol
Jun 27, 2020 12:23 pm
Forum: Help
Topic: Default value for due date not work
Replies: 13
Views: 892

Re: Default value for due date not work

Did you remove the due_date_default setting from database ? I suspect it's stell there what you have done on your very first sreenshot, so this value is taken and not the one from config_defaults_inc.php Is the field "Due Date" populated with a value after clicking "Report Issue" ? Do you see the ca...
by atrol
Jun 27, 2020 9:51 am
Forum: Help
Topic: Default value for due date not work
Replies: 13
Views: 892

Re: Default value for due date not work

As a first step I recommend to
- restore original config_defaults_inc.php
- try with English language settings

Have you changed $g_datetime_picker_format or $g_normal_date_format ?
by atrol
Jun 27, 2020 9:28 am
Forum: Help
Topic: Default value for due date not work
Replies: 13
Views: 892

Re: Default value for due date not work

pollevr wrote:
Jun 27, 2020 7:05 am
Maybe the system doesn't read the /core/config_inc.php file?
It doesn't .
As cas pointed out, the system reads config/config_inc.php
by atrol
Jun 22, 2020 3:12 pm
Forum: Help
Topic: Import Dump from Mantis 1.2.15 to Mantis 2.23
Replies: 7
Views: 1442

Re: Import Dump from Mantis 1.2.15 to Mantis 2.23

If we directly use the old DB data, there will be a error message: BAD ALTER TABLE mantis_bug_file_table ADD bugnote_id INTEGER UNSIGNED DEFAULT 0 Duplicate column name 'bugnote_id' It seems you are not using the old database to run the upgrade script, as a 1.2.x database does not have column bugno...
by atrol
Jun 15, 2020 1:11 pm
Forum: Help
Topic: Need help in upgrading to PHP - 7.4.6-Win32-vc15-x86 in Mantis server
Replies: 3
Views: 543

Re: Need help in upgrading to PHP - 7.4.6-Win32-vc15-x86 in Mantis server

1.0.0rc2 has been released 2005-09-11 and will certainly not run using latest PHP. Mantis 1.3.0 was the first version that supported PHPP 7.0 in general https://mantisbt.org/bugs/view.php?id=20499 To use PHP 7.4 you have to use latest Mantis, e.g. the last known PHP 7.4 related issue will be fixed i...
by atrol
Jun 13, 2020 9:33 am
Forum: General Plugin Discussion
Topic: Help for a newb mantis plugin writer
Replies: 4
Views: 455

Re: Help for a newb mantis plugin writer

stigzler wrote:
Jun 13, 2020 4:49 am
Does anyone know where this example Authorisation plugin is?
https://github.com/mantisbt-plugins/SampleAuth
by atrol
Jun 08, 2020 3:20 pm
Forum: Deutsch
Topic: Frage zu Rechten
Replies: 4
Views: 905

Re: Frage zu Rechten

Unterprojekte sind ein ungeliebtes Kind in Mantis https://www.mantisbt.org/bugs/view.php?id=20585 Es wurde sogar eine Option eingeführt, um Unterprojekte komplett zu deaktivieren https://www.mantisbt.org/bugs/view.php?id=20348 Und nein, das ist nicht so einfach wie es der ein oder andere meinen mag,...
by atrol
Jun 08, 2020 1:50 pm
Forum: Deutsch
Topic: Frage zu Rechten
Replies: 4
Views: 905

Re: Frage zu Rechten

by atrol
Jun 06, 2020 5:10 am
Forum: Help
Topic: Workflow transitions page error
Replies: 1
Views: 301

Re: Workflow transitions page error

As a first step, check your webserver and PHP logs for errors and warnings.