You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2009-07-26 13:12:17

linvinus
Member
Registered: 2009-07-16
Posts: 29

ticket can't be reopened by system cron

glpi: 0.72
mailgate: imap to zimbra

cat /etc/cron.d/glpi
SHELL=/bin/bash
*/1 *     * * *     www-data    /usr/bin/php5 /usr/share/glpi/front/cron.php

if user send answer email on closed ticket and mailgate task was run by system cron, then ticket status didn't change to opened, only followup message will be added to ticket.
But if run /usr/share/glpi/front/cron.php as glpi-administrator then ticket status changing to opened.

solution:
in tracking.class.php
in FollowUp class function prepareInputForAdd($input) {
add
if (isset($input['_do_not_check_author']))
                        $input["_isadmin"]=1;


Also i have report bug in  "Bugs GLPI" but didn't get any answers, so i post link here  http://www.glpi-project.org/forum/viewt … p?id=15634

Is it possible  to reports bugs on TRAC? I can't find how to register.

Sorry for English.

Last edited by linvinus (2009-07-26 13:13:50)


glpi 0.83.2, ocs 2.0.2-2, Ubuntu 8.04.4 LTS

Offline

#2 2009-07-26 14:20:24

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: ticket can't be reopened by system cron

it is not possible to reports bug on trac. You must do it here.
I move to the bugs section.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2009-07-26 14:41:30

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: ticket can't be reopened by system cron

correction here :
https://dev.indepnet.net/glpi/changeset/8504

Thanks for the bug report.

I close.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

Board footer

Powered by FluxBB