Forwarding to the list

-------- Forwarded Message --------
From: 杜宁军 <[EMAIL PROTECTED]>
To: Kristis Makris <[EMAIL PROTECTED]>
Subject: Re: [scmbug-users] status not follow customized work flow on
mantis
Date: Tue, 9 Sep 2008 15:15:54 +0800

Daemon know how to connect to Mantis database, and the customized
workflow is
in table mantis_config_table.
At first, get project_id from project_name:
  select id from mantis_project_table where name='project_name';
Say the result is 17, then get workflow from project_id:
  select value from mantis_config_table where project_id=17;
If the result is empty, then get the default workflow:
  select value from mantis_config_table where
config_id='status_enum_workflow' and project_id=0;
The value is as below:

a:12:{
i:5;s:54:"15:reviewed,75:duplicate,85:more information,90:closed";
i:15;s:34:"50:assigned,75:duplicate,90:closed";
i:50;s:51:"15:reviewed,52:opened,85:more information,90:closed";
i:52;s:22:"54:unit test,90:closed";
i:54;s:51:"52:opened,5:submitted,56:integration test,90:closed";
i:56;s:35:"60:validation,5:submitted,90:closed";
i:60;s:40:"65:pending release,5:submitted,90:closed";
i:65;s:33:"70:released,5:submitted,90:closed";
i:70;s:21:"90:closed,5:submitted";
i:75;s:21:"5:submitted,90:closed";
i:85;s:21:"5:submitted,90:closed";
i:90;s:11:"5:submitted";}

I don't know how to parse the string, maybe it's easy for perl.


2008/9/9 Kristis Makris <[EMAIL PROTECTED]>
        That's a known issue. The Scmbug Mantis backend does not requery
        Mantis
        to read a possibly customized workflow.
        
        It's a little tricky to do this, because Scmbug is written Perl,
        and
        Mantis in PHP:
        
        http://bugzilla.mkgnu.net/show_bug.cgi?id=766
        
        
        Any ideas ?
        
        
        
        On Tue, 2008-09-09 at 09:59 +0800, 杜宁军 wrote:
        > Hi, All,
        > I customized the work flow on mantis, add some status in my
        work flow.
        > But SCMBUG seems not follow my customized work flow.
        >
        > --
        > Regards,
        > David Oilfield
        > [EMAIL PROTECTED]
        >
        
        > _______________________________________________
        > scmbug-users mailing list
        > [email protected]
        > http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users



-- 
Regards,
David Oilfield
[EMAIL PROTECTED]

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to