Subject: Geeklog/Mantis Bug Tracker Integration

Posted on: 10/02/04 12:32pm
By: vinny

I have just finished up integrating Mantis Bug Tracker (0.18.1) with Geeklog (1.3.8). You can get the current release from the gplugs sourceforge site. You can see mantis in use on this site or check it out on the test server (where anonymous users have developer access to the Test Project).

-Vinny

Geeklog/Mantis Bug Tracker Integration

Posted on: 11/02/04 02:41pm
By: jnordquist

I tried to install Mantis, but the database won't go. I get the error:

#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'title varchar(250) NOT NULL default ' ', description varchar

Any ideas? The line looks fine to me.

Geeklog/Mantis Bug Tracker Integration

Posted on: 12/02/04 10:58am
By: vinny

I'm afraid I won't be able to take a look at this until sometime next week. Could someone else take a look at the SQL in question and see if there is anything wrong with it? Usually with MySQL the problem is with the line before the one quoted in the error statement (missing comma, bad syntax, etc).

I didn't have any problem installing the tables on my two test machines.

Thanks,
Vinny

Geeklog/Mantis Bug Tracker Integration

Posted on: 12/02/04 11:26am
By: Clumber

I ran into the same thing... looks like a line or 2 got cut out of the sql commands. I grabbed the mantis-0.18.1 tarball and used the one from there and that worked fine. I also grabbed the doc directory from the mantis-0.18.1 tarball too, as that was not in the plugin tar.

One other problem I ran into was that I did a cut and paste from the README for the stuff to put into all the theme header.thtml files and in there the closing tag is "sytle" and "style" was required.

Geeklog/Mantis Bug Tracker Integration

Posted on: 12/02/04 05:19pm
By: Anonymous

[QUOTE BY= vinny] I'm afraid I won't be able to take a look at this until sometime next week. Could someone else take a look at the SQL in question and see if there is anything wrong with it? Usually with MySQL the problem is with the line before the one quoted in the error statement (missing comma, bad syntax, etc).
[/QUOTE]

The CREATE line is missing.

Geeklog/Mantis Bug Tracker Integration

Posted on: 12/02/04 06:52pm
By: vinny

Thanks everyone. I'll have this fixed and a new release available Sunday night or sometime Monday.

-Vinny

Geeklog/Mantis Bug Tracker Integration

Posted on: 16/02/04 04:12pm
By: vinny

OK. I have a "r2" version of the integration with the previously mentioned problems fixed. Notice that this version will work with Geeklog 1.3.9rc1 (and likely 1.3.9).

Downloads of the new release are still available at gplugs.

-Vinny

Geeklog/Mantis Some Questions

Posted on: 17/02/04 02:35pm
By: Anonymous

Hi There,

I have a few questions about Mantis -
(1) Do the Projects align with Topics (e.g., if I have a topic "Cool stuff" is there a corresponding project in Mantis "Cool Stuff&quotWink?
(2) How are the rights to add issues, edit issues et al managed - through the same user group rights management interface as in Geeklog?
(3) How fine grained are the rights for Mantis? Are they Project specific (Bob can add issues to project X but not see project Y)?

Geeklog/Mantis Bug Tracker Integration

Posted on: 17/02/04 02:49pm
By: vinny

1) No

2) For global rights (aka to assign rights to all projects) you can create groups like "Mantis Admin", "Mantis Developer", etc within Geeklog. This is currently an undocumented feature. You can get more info on the group names you must use by looking at the code in core/user_api.php.

3) First you can set global default access by editing the config_inc.php file. This is delivered as REPORTER (see the following code):
$g_user_default_level   = REPORTER;


As an admin or project maintainer you can go to "Manage Projects" page and assign users rights to particular projects. This overrides the global rights they have (unless they are a global admin).

-Vinny

Geeklog/Mantis Bug Tracker Integration

Posted on: 02/03/04 10:29am
By: Clumber

Is there any way to go directly to one of the projects? I'd like to have a front page geeklog menu to go to project X or Y at the click of a menu item.

Andy Pierce

Geeklog/Mantis Bug Tracker Integration

Posted on: 02/03/04 01:35pm
By: vinny

I talked to the mantis "guys" on IRC (irc.freenode.net, #mantishelp) and they suggest:

http://yoursite.com/mantis/set_project.php?project_id=X&ref=view_all_bug_page.php

Where X is the project you want displayed.

-Vinny

Geeklog/Mantis Bug Tracker Integration

Posted on: 30/06/04 09:31pm
By: Anonymous

Seems like a decent system. I seem to be having one problem, though. How do I reassign to another person? Only Admin shows up in the dropdown list. I've added another user and given him Developer rights but can't assign bugs to him.

Any thoughts?


Geeklog/Mantis Bug Tracker Integration

Posted on: 19/07/04 10:05am
By: vinny

Jaguthin, I haven't seen this problem. Could you email me a link to your site so that I can see it?

Thanks,
Vinny

Geeklog/Mantis Bug Tracker Integration

Posted on: 19/07/04 08:26pm
By: Euan

I've noticed this too. The only users that appear in the dropdown for being assigned tasks are root users, as far as i can tell. If you have no other root users, then there will be no other names to assign to.

I would imagine a nice improvement would be a Mantis Admin group?

Cheers,

Euan.

Geeklog/Mantis Bug Tracker Integration

Posted on: 03/08/04 12:55am
By: Anonymous

Vinny,

I actually figured this out. The specifics elude me at the moment, but I think it had to do with creating the corresponding groups in geeklog and adding the users to those groups.

Thanks,

Jag

Geeklog/Mantis Bug Tracker Integration

Posted on: 03/08/04 09:49am
By: vinny

Jaguthin, any chance you can describe this a bit more clearly? Have you made code changes to fix the problem (showing those would be the best explanation )

Thanks,
Vinny

Geeklog/Mantis Bug Tracker Integration

Posted on: 10/08/04 01:13pm
By: rav

Fatal error: Call to undefined function: com_mail() in /home/cubsjvjb/public_html/mantis/core/email_api.php on line 686

When ever I create or modify a bug report - I get the above message. Did I miss something in the install?

Geeklog/Mantis Bug Tracker Integration

Posted on: 10/08/04 01:34pm
By: Dirk

[QUOTE BY= rav] Fatal error: Call to undefined function: com_mail()[/QUOTE]
Are you running Geeklog 1.3.9?

bye, Dirk

Geeklog/Mantis Bug Tracker Integration

Posted on: 11/08/04 12:20am
By: rav

1.3.8-1sr2

Geeklog/Mantis Bug Tracker Integration

Posted on: 11/08/04 11:51am
By: vinny

COM_mail doesn't exist in 1.3.8sr2. You need to upgrade to 1.3.9 for the Mantis integration to work without code changes (hence the name: mantis_0.18.2_1.3.9).

Your other option is to edit email_api.php and replace COM_mail() with mail().

-Vinny

Geeklog/Mantis Bug Tracker Integration

Posted on: 11/08/04 12:25pm
By: rav

ah! knew I missed something! Thanks!

Geeklog/Mantis Bug Tracker Integration

Posted on: 12/08/04 11:23am
By: Jefficus

Has anybody written a phpblock to extract a short bug summary for display as a GL block? I use the Mantis integration to manage my Site Bugs and Features plan and I keep an Admin Page where I concentrate articles, admin blocks and recent admin forum activities. This info page is very useful to myself and the other site admins as a quick snapshot of what's going on. I'd like to add a block that shows the outstanding open and assigned issues from Mantis on this summary page.

I actually plan to get around to writing this block soon, but wondered if anybody had already beaten me to it.

Jefficus

Geeklog/Mantis Bug Tracker Integration

Posted on: 12/08/04 02:02pm
By: vinny

[QUOTE BY= Jefficus] I actually plan to get around to writing this block soon, but wondered if anybody had already beaten me to it. [/QUOTE]

If someone does write any add-ons such as a user and/or an admin block (or documentation, other stuff...whatever) I'd be happy to include it in the Mantis distribution. Just send me an email with the details.

-Vinny

Geeklog/Mantis Bug Tracker Integration

Posted on: 30/09/04 02:56pm
By: Anonymous

Is there anyway not to allow users that are not logged in to even see the mantis site?

ie: http://geeklogsite.org/mantis would generate : sorry, you must log in first?

Thanks.
-johnr


Geeklog/Mantis Bug Tracker Integration

Posted on: 30/06/06 01:53am
By: Anonymous

hi all

I m new to mantis ... actually, i struggled a lot in installing and configuring it... now somehow i ve logged in...but i m unable to proceed...my access level is reporter... and wat should i do after logging in
can any one of u guide me in this regard

Re: Geeklog/Mantis Bug Tracker Integration

Posted on: 02/08/08 04:35am
By: Anonymous

The latest version mantis_0.18.2_1.3.9 seems to work on Geeklog 1.5 however, there are some issues like the CSS not working properly. If I include the CSS in the header, it picks up the CSS file, but then the site gets really messed up. So I copied the contents of the CSS to the main theme's CSS file and seem to work better. But still have issues with the menu's not displaying correctly.

The Relationships to other bug reports have an error that shows up when you view the issues.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in E:\WebSites\yoursite\public_html\spamtracker\core\error_api.php on line 310.

Is there going to be an update to this integration? Its been close to 4 years since I have seen anything on this.

If there is another solution, please let me know.

Michael

Re: Geeklog/Mantis Bug Tracker Integration

Posted on: 15/08/08 07:14pm
By: trinity

I thought about tackling this myself but due to time constraints i am currently unable to attempt it. There has been substantial changes to Mantis since the plugin was made so it would need to probably be done from scratch.

-Trinity

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=30356