Search found 46 matches

by modest
19 Jul 2011, 17:16
Forum: Help
Topic: Cannot upload .ko type files
Replies: 8
Views: 7170

Re: Cannot upload .ko type files

monn wrote:I'm not really sure but I think the issue here is the file size.
You uploaded a file where size is 0.
Initially, I thought the same thing, but the size of the file is not zero. In fact the size is 8.89KB.
by modest
15 Jul 2011, 17:37
Forum: Help
Topic: Cannot upload .ko type files
Replies: 8
Views: 7170

Re: Cannot upload .ko type files

monn wrote:Did you made any customization in file_api or etc?
This is a fresh installation on Mantis 1.2.4. I did not do any customizations.
by modest
14 Jul 2011, 15:14
Forum: Help
Topic: Cannot upload .ko type files
Replies: 8
Views: 7170

Re: Cannot upload .ko type files

lordmax wrote:It seems to need some external api.
Had you verified .ko extension is registered on apache?
How do I verify that?
by modest
13 Jul 2011, 22:31
Forum: Help
Topic: Cannot upload .ko type files
Replies: 8
Views: 7170

Cannot upload .ko type files

I am using Mantis 1.2.4. I am not able to upload files of type .ko. I get the following error message:


APPLICATION ERROR #504

No file was uploaded. Please go back and Choose a file before pressing Upload.


and after turning on the $g_show_detailed_errors=ON I get the following screen:
http ...
by modest
30 Jun 2011, 21:57
Forum: Customizations
Topic: Cannot make Custom Field required
Replies: 3
Views: 4075

Re: Cannot make Custom Field required

Here is the answer to the question.
http://www.mantisbt.org/bugs/view.php?id=10670

Link found by atrol.
by modest
30 Jun 2011, 17:03
Forum: Customizations
Topic: Custom Field Required Bug(s)
Replies: 1
Views: 2978

Custom Field Required Bug(s)

I found the following two issues on a fresh installation:

1. Created a custom field of type "String", checked "Required on Report" and linked it to a Project. However, I was still able report an issue without entering any data in this field even though the red asterisk ( * ) was shown on that field ...
by modest
30 Jun 2011, 01:09
Forum: Customizations
Topic: Hide "View Status" fields from all pages
Replies: 1
Views: 3348

Hide "View Status" fields from all pages

I am using Mantis 1.1.8. I would like to hide the "View Status" fields from all pages (reporting, updating, etc.). I found the two variables:

$g_set_view_status_threshold
$g_change_view_status_threshold

but they only let you assign to a different access level (say ADMINISTRATOR) and not ...
by modest
27 Jun 2011, 17:44
Forum: Customizations
Topic: Cannot make Custom Field required
Replies: 3
Views: 4075

Re: Cannot make Custom Field required

Alright. I really need some help here as I think this is a bug in Mantis 1.1.8. Unfortunately, I cannot upgrade my Mantis installation and I need to fix it in the 1.1.8 code.

I have been able to reproduce this on a fresh 1.1.8 install.
by modest
23 Jun 2011, 20:34
Forum: Customizations
Topic: Cannot make Custom Field required
Replies: 3
Views: 4075

Re: Cannot make Custom Field required

OK, I am pretty sure that this might be a bug as the only thing that happens upon checking "Required on Report" for a custom field is that red asterisk ( * ) is displayed next to the field and there is no checking whatsoever to make sure that user has filled some value in it.

Has anyone experienced ...
by modest
23 Jun 2011, 18:01
Forum: Customizations
Topic: Enumerating Custom Fields with version specific to a project
Replies: 2
Views: 4054

Re: Enumerating Custom Fields with version specific to a pro

Have a look at function project_get_id_by_name in file core/project_api.php
Thanks. I was able to get it to work using your tip. So it seems that if I want two of my custom enumeration field to populate the version list from two different projects I simply add another custom function like ...
by modest
22 Jun 2011, 22:35
Forum: Customizations
Topic: Cannot make Custom Field required
Replies: 3
Views: 4075

Cannot make Custom Field required

Using Mantis 1.1.8. I added a new custom field of type string called "MyValue". I checked on "Required on Report" and then clicked on "Update Custom Field Button". After that I assigned the the custom field to one of the projects. Now when I tried to report an issue to that project, Mantis still ...
by modest
22 Jun 2011, 22:14
Forum: Customizations
Topic: Auto Assigning Issues to Manager on a project basis
Replies: 4
Views: 7295

Re: Auto Assigning Issues to Manager on a project basis

c) write a custom function custom_function_default_issue_create_notify http://www.mantisbt.org/manual/manual.customizing.mantis.custom.functions.defined.functions.php

Atrol, I liked the idea of writing custom functions. Is there any example in the existing Mantis code base which shows how to get ...
by modest
22 Jun 2011, 18:21
Forum: General Discussion
Topic: What's purpose of t_cookie_string variable?
Replies: 0
Views: 2417

What's purpose of t_cookie_string variable?

So I have been using Mantis for over two months now and I am starting to tinker with some Mantis code, specifically the login/authentication code. I noticed that Mantis authentication file (authentication_api.php) uses a lot of reference to $t_cookie_string variable. Can anybody explain what's the ...
by modest
22 Jun 2011, 07:29
Forum: Customizations
Topic: Auto Assigning Issues to Manager on a project basis
Replies: 4
Views: 7295

Re: Auto Assigning Issues to Manager on a project basis

atrol wrote:You can assign a user to a category of a project. This user becomes the default handler when entering an issue.
Yes, that's the problem in my case. We do not use categories for any of our projects. Should we just define a dummy one for the sake of enabling this feature?