Setduedate doesn't work

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
fatacoto
Posts: 11
Joined: 25 Sep 2012, 14:55

Setduedate doesn't work

Post by fatacoto »

Hi experts,

I've just being using Mantis 1.2.12.

I've installed some plugins and it seems going fine, except setduedate 3.20, which I have installed succesfully but it doesn't give any efect after creating ticket.

I've tried to add due_date column to be shown in the view issues page, but it remains blank, I've tried with both: default configuration of setduedate and and tried by category/project, but same result.

thanks in advance for your help.
atrol
Site Admin
Posts: 8580
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Setduedate doesn't work

Post by atrol »

I never used this plugin myself.
If it uses the MantisBT standard field, this might be the solution:
Add the following lines to file config_inc.php and to adjust the access levels to your needs

Code: Select all

$g_due_date_update_threshold = MANAGER;
$g_due_date_view_threshold = DEVELOPER;
Please use Search before posting and read the Manual
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: Setduedate doesn't work

Post by cas »

it uses the default field and it does assume the funtionality to be enabled. I created this plugin and it works flawlesly.
Will adjust the documentation to reflect the prerequisites.
fatacoto
Posts: 11
Joined: 25 Sep 2012, 14:55

Re: Setduedate doesn't work

Post by fatacoto »

Guys,

I don't know how to thank u,

Atrol you are always responding on time with the real fix to the issues.
Cas the pluging you have devlopped is amazing.

Thank you guys.
fatacoto
Posts: 11
Joined: 25 Sep 2012, 14:55

Re: Setduedate doesn't work

Post by fatacoto »

Hi Cas,

in the due date column it shows yyyy/mm/dd can we add hh:mm ?
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: Setduedate doesn't work

Post by cas »

Yes, would bepossible by adjusting the date format. This for now is onlypossible within the code itself (short_date_format => normal_date_format).
fatacoto
Posts: 11
Joined: 25 Sep 2012, 14:55

Re: Setduedate doesn't work

Post by fatacoto »

So can I made it myself in the original plugin file?

Also I have read you were talking about the reminder when due date is near, can u send me the link to download please?

Thank you.
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: Setduedate doesn't work

Post by cas »

Yes, you could do it yourself.

The reminder plugin you can find within the mantis bugtracker :mrgreen:
fatacoto
Posts: 11
Joined: 25 Sep 2012, 14:55

Re: Setduedate doesn't work

Post by fatacoto »

Hi Cas,

I found it and realy amazing based on its description,

but it 's showing an error message 8O

APPLICATION ERROR #401
Database query failed. Error received from database was #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 ') and due_date>1 and due_date<=1359563343' at line 1 for the query: select mantis_bug_table.id,summary,due_date,username,realname from mantis_bug_table,mantis_user_table where mantis_bug_table.handler_id=mantis_user_table.id and status in () and due_date>1 and due_date<=1359563343.

what does it mean?
appreciate you help
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: Setduedate doesn't work

Post by cas »

will look into this but please report in the bugtracker (http://mantisbt.org/bugs) so it is tracked for all others too.

It looks like the category_id field is not filled which is assumed by the plugin.
can you check this & report it in the bugtracker?
Post Reply