Hi there,

So, I've finally got the chance to grant some time at trying this out. Before going ahead, I just wanted to say that I've never actually used this plugin so I am not certain what is the expected behavior. However, this seems like it would be really useful in reducing the amount of maintenance involved in working with identical scrips in different queues.

Here is how I've set it up on my 4.0.4 environment:
===
wget https://github.com/tbrumm/RT-Extension-QueueDeactivatedScrips/zipball/master
unzip master
cd tbrumm-RT-Extension-QueueDeactivatedScrips-54c7982/
perl Makefile.PL
make
make install
make initdb

rm -rf /opt/rt4/local/plugins/RT-Extension-QueueDeactivatedScrips/lib/
rm -rf /opt/rt4/local/plugins/RT-Extension-QueueDeactivatedScrips/html/

tar -xvf deactivate_scrips_rt402.tar
cd patch/rt_local
mv * /opt/rt4/local/plugins/RT-Extension-QueueDeactivatedScrips/
===

In RT_SiteConfig.pm: Set(@Plugins, qw(RT::Extension::QueueDeactivatedScrips));
Restarted Apache.

Now, when looking at Global Scrips, I have this screen. Not sure if this is where it should be showing - this should be when looking at a queue's scrips, no ?
http://i.imgur.com/Fp37v.png

Looking at a Queue's scrips shows the default version of Scrips.html, not one I would expect (the version that shows in the global scrips section). Therefore, when looking at a Queue, I do not have the ability to deactivate a global scrip.

I've tried clearing mason's cache and copying the plugin files directly to the local folder instead of inside the plugin folder. No go.

Am I doing something wrong ?

I'm also thinking it could be nice that, instead of going inside a queue to deactivate a global scrip, you could go inside a global scrip and see a list of queues it is enabled on and change activation parameters there.
But, that's entirely another extension I would think!

*David Moreau Simard*


On 11-12-05 4:41 AM, Givano wrote:
Hi,

here is the diff patch and full files of the extension for RT4.0.2. For SQL table use the SQL scripts from Thorstens extension on the github https://github.com/tbrumm/RT-Extension-QueueDeactivatedScrips. This modifications are fully based on Thorstens extension for RT3.8.

If you need some help in setting up the extension for your RT please ask.

BR, Ivan

PS: @David: would be really interesting to hear if it also works with 4.0.4.


2011/12/2 David Moreau Simard <dmsim...@iweb.com <mailto:dmsim...@iweb.com>>

    I, for one, would be highly interested in trying the patch out.

    I have a 4.0.4 development environment on which I could test it on
    - I would report back with compatibility details.

    - David

    On 11-12-02 9:10 AM, Givano wrote:
    Hi guys,

    if it's still interesting, I have done the patch for rt 4.0.2 and
    it works fine for me. Only three files need to be modified two
    html and one lib. If you want I can send you diffs or the files
    for rt4.0.2. I dont know if it will work with 4.0.4.

    BR, Ivan

    2011/10/6 Ruslan Zakirov <r...@bestpractical.com
    <mailto:r...@bestpractical.com>>

        Hi,

        On Thu, Oct 6, 2011 at 7:25 PM, Randy Black
        <randy.bl...@buckle.com <mailto:randy.bl...@buckle.com>> wrote:
        > Know of anyone working on the port?


        I don't know. It's on github and there is no forks of the
        project.
        Torsten packaged the extension, probably newer version depends on
        patches people would send and/or on his upgrade schedule.


        > -----Original Message-----
        > From: ruslan.zaki...@gmail.com
        <mailto:ruslan.zaki...@gmail.com>
        [mailto:ruslan.zaki...@gmail.com
        <mailto:ruslan.zaki...@gmail.com>] On Behalf Of Ruslan Zakirov
        > Sent: Thursday, October 06, 2011 12:24 PM
        > To: Randy Black
        > Cc: rt-users@lists.bestpractical.com
        <mailto:rt-users@lists.bestpractical.com>
        > Subject: Re: [rt-users] RT-Extention-QueueDeactivatedScrips
        >
        > Hi,
        >
        > File that couldn't be found was deleted between RT3 and
        RT4. What
        > means that extension has not been ported over RT4.
        >
        > On Thu, Oct 6, 2011 at 4:45 PM, Randy Black
        <randy.bl...@buckle.com <mailto:randy.bl...@buckle.com>> wrote:
        >> Does anyone use this extension and have it working in a
        production 4.0.2
        >> instance of RT?
        >>
        >> I have it installed, but when selecting a queue and then
        selecting ‘scrips >
        >> select’ from the menu, I get “could not find component for
        path
        >> ‘/Admin/Elements/QueueTabs’”
        >>
        >> Looking through the doc, the wiki and google, produced
        nothing.
        >>
        >> Thanks,
        >>
        >> Randy
        >>
        >> --------
        >> RT Training Sessions
        (http://bestpractical.com/services/training.html)
        >> *  San Francisco, CA, USA — October 18 & 19, 2011
        >> *  Washington DC, USA — October 31 & November 1, 2011
        >> *  Barcelona, Spain — November 28 & 29, 2011
        >>
        >
        >
        >
        > --
        > Best regards, Ruslan.
        >



        --
        Best regards, Ruslan.
        --------
        RT Training Sessions
        (http://bestpractical.com/services/training.html)
        *  San Francisco, CA, USA  October 18 & 19, 2011
        *  Washington DC, USA  October 31 & November 1, 2011
        *  Barcelona, Spain  November 28 & 29, 2011




    -------- RT Training Sessions
    (http://bestpractical.com/services/training.html
    )
    * Boston — March 5&  6, 2012

    --------
    RT Training Sessions (http://bestpractical.com/services/training.html)
    * Boston — March 5 & 6, 2012


--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012

Reply via email to