o
> instruct it to use RT's *mod_perl* or *FastCGI* handler. If you need
> commercial support, please contact us at sa...@bestpractical.com.
>
>
> 2013/4/5 Paul Tomblin
>
>> In your rt.conf, change the "Alias" and "ScriptAlias" lines to
>>
, 2013 at 1:11 PM, Sergio Mesquita
wrote:
> Helo Paul!
>
> Just upload the two files.
> Httpd.conf and Rt.conf
>
> Thanks for your help
>
>
> 2013/4/5 Paul Tomblin
>
>> Show us your apache config for this site.
>>
>>
>> On Friday, April 5, 201
Show us your apache config for this site.
On Friday, April 5, 2013, Sergio Mesquita wrote:
> Hello All!
>
> Need your help, to make one change.
> I have my RT working using this access http://IP/rt.
> How can I change apahce settings so this works on http://IP.
>
> I try a lot f settings, but wit
Do you want the custom field value on a specific ticket?
my $st = $ticket->FirstCustomFieldValue("Show Tag");
Do you want the CustomField object for a specific field name on a specific
queue?
my $cf = $QueueObj->CustomField("Show Tag");
On Mon, Apr 1, 2013 at 11:45 AM, Raymond Corbett <
raym
I've updated the Wiki to fix some or all of the problems on that page. It
seems to be working for me.
On Fri, Mar 15, 2013 at 3:56 PM, Raymond Corbett <
raymond.corb...@arcproductions.com> wrote:
> The link to the wiki is:
>
> ** **
>
>
> http://requesttracker.wikia.com/wiki/QuickTicket#Ad
On Saturday, March 30, 2013, Ray Corbett wrote:
>
> How do I tell RT that I am using Perl 5.12 and not Perl 5.8.8
>
>
>
Is the new Perl in your PATH? Type "which perl" and "perl -v" to
check. If so, do you have an environment variable "PERL5LIB" and if so
what is it set to?
--
http://www.lin
On Tue, Mar 26, 2013 at 11:44 AM, Raymond Corbett <
raymond.corb...@arcproductions.com> wrote:
> Assuming I want to load a customfield, how would I identify it by name?
> For example the one I called “Dev Code”
If you want the value of a custom field in a ticket, the easiest way is
$ticket->Firs
My client created a bunch of RT ids without email addresses. Is there any
way to do a query to find that person's tickets (ie where they are the
requestor)? RT::Tickets->LimitWatcher is based on email address, and I'd
like to limit based on their RT::Principal->id instead. Is there a call to
do
On Tue, Feb 26, 2013 at 10:39 AM, Raymond Corbett <
raymond.corb...@arcproductions.com> wrote:
> That fixed things up except now I have the owner field but no selections
> in the list, the Me and Nobody.
>
> ** **
>
>
>
> option value="<%$session{'CurrentUser'}->id%>"><&|/l&>Me
>
> o
On Tue, Jan 22, 2013 at 11:37 AM, mrbeeye wrote:
> Description of environment and setup (see diagram here:
> http://img262.imagevenue.com/img.php?image=867879360_rt_122_150lo.jpg
>
> ):
I went to that link and got multiple popups, several of which were flagged
as spam or phishing attempts. I w
On Mon, Nov 26, 2012 at 8:52 AM, Sebastian Flothow wrote:
> Is there a way to have rt-server.fcgi terminate gracefully, i.e. such that
> any currently running request is completed before exiting?
>
I'm pretty sure "/etc/init.d/apache2 reload" will do that.
--
http://www.linkedin.com/in/paultom
Is there any way to add the x-ua-compatible header to RT? We're accessing
it through an intranet, and evidently IE defaults to quirks mode in the
intranet without it, in spite of the doctype HTML tag.
--
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin
---
On Thu, Nov 8, 2012 at 12:37 PM, testwreq wreq wrote:
> Actually now this is my host file. When I restart apache, I get the
> following error:
> PerlResponseHandler', perhaps misspelled or defined by a module not
> included in the server configuration...
>
>
Do you have your mod_perl handler inc
On Tue, Nov 6, 2012 at 4:58 AM, Tim Cutts wrote:
> But generally you don't want to do that, and instead you want to use the
> perl API to get at them:
>
> my $attachments = RT::Attachments->new(RT->SystemUser);
> $attachments->LimitByTicket(294774);
> $attachments->LimitNotEmpty;
>
And if you *j
I have a custom workflow which uses a custom web interface. When the user
clicks the "Submit" button, the interface creates a "Master" ticket, and
then a bunch of sub-tickets, the number of which varies depending what
services they are requesting. The users are complaining that the process
of sub
Did you restart RT after making the change? Unless you're in development
mode, it won't pick up the changes. You probably need to flush your mason
cache as well, just to be safe.
On Fri, Oct 26, 2012 at 9:40 AM, Red Pantyhose wrote:
> Dear Christian
>
> Thank you I applied some changes and I get
On Tue, Oct 16, 2012 at 5:56 PM, Mike James wrote:
>
> [root@tracker ~]# su -l rt_user
> [rt_user@tracker ~]$ psql -d rt4 -U rt_user
> psql (9.2.1)
> Type "help" for help.
>
How about if you try
psql -H localhost -U rt_user rt4
That will tell you if you've configured postgres to accept tcp/ip
On Wed, Sep 26, 2012 at 1:49 PM, Ben Brown wrote:
> A second problem - in Chrome for Windows, widget icons (the arrows next to
> menus Home, Tickets, Tools, etc) as well as the menu rollup icons, are
> missing. It works in Firefox and IE. It also works on Chrome for Mac. I can
> see in the Apache
Apache probably isn't returning the correct content type for them.
On Thursday, September 20, 2012, Aaron Bendickson wrote:
> Just recently updated from v3.8.8 to v4.0.7 and one thing I can't seem
> to figure out is why .wav file attachments no longer play in the
> browser. If I download the atta
On Wed, Sep 19, 2012 at 2:25 PM, Matt Brennan wrote:
> 2924 through 2935. I do notice that there's something about "Force" in
> that if statement, but it seems force is an internal thing to allow
> automated processes to override the check.
>
Oh, it looks like I can do it programmatically using
I've noticed that I can "steal" a ticket using the "Actions"->"Steal"
dropdown on the ticket display, however I can't steal if by changing the
"Owner" dropdown on the Basics page. When I attempt to, I get a message
"You can only take tickets that are unowned". Is this intentional, or an
oversight
On Monday, September 17, 2012, Chris O'Kelly wrote:
>
> Hi Paul,
>
> ** **
>
> Firstly, I'll just point out this isn't my fix, it's stolen from the top
> answer of
> http://stackoverflow.com/questions/4762254/javascript-window-location-does-not-set-referer-in-the-request-header,
> but it is el
I have three custom pages, call them "d.html", "a.html" and "c.html".
"d.html" is the dashboard for the plugin, and from that one to either of
the others and back to "d.html". I transition between them using
'window.location = "d.html";' which works fine for all of the transitions,
except one. W
On Wed, Sep 5, 2012 at 8:49 AM, Raphaël Berlamont
wrote:
> 2012/9/4 Paul Tomblin
>>
>> What happens if you just try to send an email to one of those
>> addresses from the command line on that server? I.e.
>> Mail -s "test message" corp_admin_...@myfir
On Tue, Sep 4, 2012 at 3:05 PM, Jeff Blaine wrote:
> my $ticket = $self->TicketObj;
> $ticket->Comment(content => "blah!");
my $mimeObj = MIME::Entity->build(
Type => 'multipart/mixed',
'Message-Id' => RT::Interface::Email::GenMessageId,
Subject => $subject,
);
$mim
On Tue, Sep 4, 2012 at 1:14 PM, Raphaël Berlamont
wrote:
>
> Here you can fin a pastebin of ll those messages :
> http://pastebin.com/GemuDHSw
>
> .
What happens if you just try to send an email to one of those
addresses from the command line on that server? I.e.
Mail -s "test message" corp_admi
On Tue, Sep 4, 2012 at 11:56 AM, Raphaël Berlamont
wrote:
> 2012/9/4 Paul Tomblin
>>
>> I can't think of any reason why sendmail thinks it needs to tell the
>> mail user agent (MUA) this. Mail Transfer Agents (MTA) like sendmail
>> should do queuing and retrying
On Tue, Sep 4, 2012 at 9:57 AM, Raphaël Berlamont
wrote:
> OK for this first error, but the second one disappears as soon as I restart
> apache, and RT work flawlessly for minutes/hours (depending on load maybe) :
>
> "[Tue Sep 4 09:34:43 2012] [error]:
> : `/usr/sbin/sendmail -
On Tue, Sep 4, 2012 at 8:52 AM, Raphaël Berlamont
wrote:
> [Tue Sep 4 09:34:43 2012] [info]:
> #7324/120687 - Scrip 10
> On Resolve Notify Requestors
> (/opt/rt4/sbin/../lib/RT/Action/SendEmail.pm:301)
> sendmail: fatal: e...@myfirm.com(48): No recipient addresses found in
> message header
This
On Fri, Aug 31, 2012 at 10:10 AM, Shawn Plummer wrote:
> Anyone with Oracle will probably need to do this:
Correct me if I'm wrong, but isn't Oracle violating the SQL spec by
treating empty strings as equivalent to null? I expect that kind of
behavior from MySQL, but from Oracle? That's unbeli
On Thu, Aug 30, 2012 at 2:52 PM, Kevin Falcone
wrote:
> This should be easy to fix. Don't specify <%ARGS> and just
> do a return if ref $ARGS{URL} to skip the first variant of the
> callback.
Yes, that worked.
Is there a 4.2 git repo up in the usual places?
--
http://www.linkedin.com/in/paul
I'm trying to make it so when a user logs out of RT, they get taken
back to my page when they log back in. But I'm having problems with
the callback in /NoAuth/Logout.html, because it seems like the
"Default" callback is called twice, once in <%init> and once in the
main, but with different argume
I've had this weird situation where when I call an AJAX function, even
though the Mason handler file calls $m->abort, I was still getting
HTML from the autohandler in the directory above the directory where
the handler lived, and RT autohandler stuff after that. This was only
happening on my Mac,
My code makes an ajax call to a mason file that emits some json. That
mason file uses the exact same techniques that RT's own ajax mason
files use to make sure it isn't polluted with html - it calls
$m->abort after emitting the json. On my Linux box (Ubuntu 12.04,
some dependencies installed with
On Mon, Aug 20, 2012 at 8:11 PM, Paul Tomblin wrote:
> I send a copy of my latest code to my client. He followed my installation
> instructions (added the plugin name to RT_SiteConfig.pm @Plugins, do a "perl
> Makefile.pm; make; make initdb; make install", restart the ser
I send a copy of my latest code to my client. He followed my installation
instructions (added the plugin name to RT_SiteConfig.pm @Plugins, do a
"perl Makefile.pm; make; make initdb; make install", restart the server),
but when he tries to go to the first page of my code
http://hisdomain.com/rt/cf
On Fri, Aug 17, 2012 at 3:26 AM, Martin Drasar wrote:
>
> Still, I wonder how come that Paul could successfully run my scripts...
>
>
Because I didn't put it in Elements, I put it in the directory with the
code I was working on, and because I didn't try it with <%flags>.
If there is one thing th
On Thu, Aug 16, 2012 at 1:04 PM, Kevin Falcone wrote:
> The config option is called MinimumPasswordLength, not
> MinPasswordLength. It works fine for me.
>
And just as an aside, if you force your users to use 10 character
passwords, I can *guarantee* that most of them will have them written down
On Thu, Aug 16, 2012 at 9:21 AM, Martin Drasar wrote:
>
> My question is - how can I diagnose, whether there is a problem with
> (auto|d)handlers? I haven't touched any of them since the installation.
Ok, this is a real desperation measure, but I modified /opt/rt4/lib/RT.pm
and added a call to
On Thu, Aug 16, 2012 at 8:00 AM, Martin Drasar wrote:
> Ajax request on this component fails with this error:
> Error during compilation of
> /home/RT/RT-4.0.6/local/html/Ticket/Elements/TestComponent:syntax
> error at (eval 1164) line 12, at EOF
>
I copied your code into my web app, and it work
On Thu, Aug 16, 2012 at 7:24 AM, Martin Drasar wrote:
> On 16.8.2012 13:15, Paul Tomblin wrote:
> >
> >
> > On Thu, Aug 16, 2012 at 5:22 AM, Martin Drasar > <mailto:dra...@ics.muni.cz>> wrote:
> >
> >
> > The problem is, when I remove the
On Thu, Aug 16, 2012 at 5:22 AM, Martin Drasar wrote:
>
> The problem is, when I remove the flags section, the ajax call fails
> with 403. If I keep it, I get back following error: "syntax error at
> /home/RT/RT-4.0.6/local/html/Ticket/Elements/TestComponent line 15, at EOF"
>
Do you see anythin
I don't know why I had the problem before with my ajax files when I didn't
have the inherit => undef before, but I took them all out and all my ajax
calls appear to still be working. So I guess you don't need that <%flags>
section.
--
http://www.linkedin.com/in/paultomblin
http://careers.stack
On Wed, Aug 15, 2012 at 11:37 AM, Martin Drasar wrote:
> I have used MakeClicky actions to extend the RT UI and now I would like
> my extensions to do some ajax stuff on click. I would like to know, how
> I can create new Mason component and set it as a valid target for the
> ajax request.
>
> An
On Tue, Aug 14, 2012 at 3:27 AM, Gergely Buday wrote:
> Hi there,
>
> I was able to log a custom field value in a scrip:
>
> my $user=$self->TransactionObj->CreatorObj;
>
> my $cfvs = $user->CustomFieldValues('107');
> while(my $cfv = $cfvs->Next) {
> $RT::Logger->info("cfv->Content=" . $cfv->
On Thu, Aug 9, 2012 at 12:45 PM, Thomas Sibley wrote:
> and
>
> RT->Init;
> RT->LoadConfig;
>
Looking at my unit test scripts, I seem to have
RT::Init;
RT::LoadConfig;
There shouldn't be a difference, should there?
--
http://www.linkedin.com/in/paultomblin
http://careers.stackoverfl
On Thu, Aug 9, 2012 at 12:01 PM, Gergely Buday wrote:
> Hi there,
>
> how can I run a perl script through the RT environment so that I can
> use the database and all the modules, but see the compiler output on
> my faulty experiments?
>
> - Gergely
>
use lib "/opt/rt4/lib";
use RT;
That should
gt;
> Greg
>
> ** **
>
> *From:* rt-users-boun...@lists.bestpractical.com [mailto:
> rt-users-boun...@lists.bestpractical.com] *On Behalf Of *Betz, Gregory
> *Sent:* Wednesday, July 25, 2012 10:29 AM
> *To:* Paul Tomblin
> *Cc:* rt-users@lists.bestpractical.com
> *S
I've seen this exact thing happen when the person trying to add the
watchers didn't have permissions to the queues in question. Rather than
handling it properly, RT sticks a null queue name into the query, which the
query doesn't like much.
On Wed, Jul 25, 2012 at 10:18 AM, Betz, Gregory
wrote:
I have a couple of web pages that are being installed as an extension
(along with Scrips and Actions etc). I want to pass information from one
part of the web interface to another part of the web interface. I thought
of using the session, having the mason code setting $session{'Clients'} =
"testi
On Thu, Jun 21, 2012 at 11:33 AM, Borngunners wrote:
> Can't locate JSON.pm in @INC (@INC contains: /opt/rt4/sbin/../local/lib
> /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt4/sbin/../lib
> /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2
> /usr/lib/perl5 /us
If you'r
sudo apt-get install libplack-perl
On Thu, Jun 21, 2012 at 10:46 AM, Borngunners wrote:
> This is the error log from apache2
>
> [Wed Jun 20 06:46:44 2012] [notice] Apache/2.2.22 (Ubuntu)
> PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 $
> [Wed Jun 20 17:18:25 2012] [error
On Thu, Jun 14, 2012 at 9:48 AM, Matthew W. wrote:
> Here's some psuedocode (code not tested and may contain typos, but my
> code works just fine as I can see the transactions in the ticket
> history):
>
> my $Value = 'some value';
>
> my $CFName = 'customCF';
> my $CF->LoadByName( Name => $CFName
On Wed, Jun 13, 2012 at 9:41 AM, Mark Collins wrote:
> Yes - even after the mason cache has been cleared the callback isn't running.
If the callback has an error, it exits silently. I found a couple of
problems like this by going into /opt/rt4/lib/RT.pm and adding
"Carp::click;" just before the
I have a need to access information in another database simultaneously
to the , so I cloned RT::Handle.pm into my own RTx::FooBar::Handle
that access the other database. Now I'm testing this on my Linux box
and everything is running fine, but I copied it over to my MacBook Pro
in order to demo it
On Wed, Jun 6, 2012 at 12:02 PM, Thomas Sibley wrote:
> Make your plugin's images directory something that's not in core RT.
> You're running into an annoying Mason quirk involving autohandlers and
> multiple component roots, I believe.
>
> html/NoAuth/RT-Extension-Foo/images/autohandler
> html/No
On Mon, Jun 4, 2012 at 12:58 PM, Alexander Reintzsch
wrote:
> Well, thanks for the idea. But autohandler doesn't work at all. Neither
> in share/html/NoAuth/images nor anywhere else. It's beeing ignored.
> I copied the picture, see attachment, into share/html/NoAuth/images and
> got the Mason-comp
The mystery deepens. I put some debugging into the autohandler in
/opt/rt4/share/html/NoAuth/images/autohandler:
<%INIT>
# This autohandler will spit out RT's images if the user hasn't
# properly configured their webserver to stop RT from passing
# images through the mason handler.
my $file = $m-
I'm writing my code as an extension to make it easier to load on my
customer's development, test and production servers. I'm trying to
add an ajax spinner, so I added it in my source directory
html/NoAuth/images/foo/ajax-spinner.gif, and it gets installed in
/opt/rt4/local/plugins/foo/html/NoAuth/
On Sat, Jun 2, 2012 at 4:04 PM, Paul Tomblin wrote:
> But when I try to access this file as the source in my .autocomplete,
> it gets a 404. I've tried it with a relative path and an absolute
> path, same results.
It would help, I suppose, if I were actually able to distinguish
I'm trying to do a jquery autocomplete, but using my "other" database
rather than the RT database. I created a web form in my extension's
own html/cf directory, which I can access. I also put a autocomplete
file in html/cf/AutoComplete called "People", which looks a lot like
your Helpers/Autocomp
On Wed, May 23, 2012 at 11:09 AM, Thomas Sibley wrote:
>> : `/usr/sbin/sendmail
>> -oi -t` exited with code 1 at
>> /opt/rt4/sbin/../lib/RT/Interface/Email.pm line 466.
>
> Exit code 1 isn't very useful, unfortunately. Does this happen with
> every single mail RT tries to send? Are there ever an
On Fri, May 18, 2012 at 11:51 PM, Bill Cole
wrote:
> On 18 May 2012, at 17:40, Paul Tomblin wrote:
>
>> On Fri, May 18, 2012 at 3:47 PM, Bill Cole
>> wrote:
>>>
>>> Another option is to modify the Global Scrip with a User Defined
>>> Condition
>>
On Fri, May 18, 2012 at 5:40 PM, Paul Tomblin wrote:
> wrote:
>> Another option is to modify the Global Scrip with a User Defined Condition
>> that returns 0 if the Queue is one that you want to exempt.
>
> How do I programmatically add one of these User Defined Condition
On Fri, May 18, 2012 at 3:47 PM, Bill Cole
wrote:
> Another option is to modify the Global Scrip with a User Defined Condition
> that returns 0 if the Queue is one that you want to exempt.
How do I programmatically add one of these User Defined Conditions to
an existing RT Global Scrip? (Prefera
How can I override a default scrip for a queue? If I define a new
scrip with the same name as an existing one, it runs both of them.
--
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin
On Thu, May 17, 2012 at 4:15 PM, Paul Tomblin wrote:
> I'm currently using this:
>
> {
> my $attachments = RT::Attachments->new(RT->SystemUser);
> $attachments->LimitByTicket($ticket->id);
> $attachments->Limit( ALIA
I'm currently using this:
{
my $attachments = RT::Attachments->new(RT->SystemUser);
$attachments->LimitByTicket($ticket->id);
$attachments->Limit( ALIAS=> $attachments->TransactionAlias,
FIELD=> 'Type',
If I don't want a default Scrip to run on a particular queue, is there
a way to stop it? The only way I've found so far is to make a Overlay
that checks the queue, and either returns 0 or calls
SUPER::IsApplicable. Is that the best way?
--
http://www.linkedin.com/in/paultomblin
http://careers.
e hostname that RT
finds in C<%ENV>. You can read more about what turning it On or Off
means in the documentation for your version of Apache.
If you use RT behind a reverse proxy, you almost certainly want to
enable this option.
=cut
Set($CanonicalizeRedirectURLs, 0);
On Wed, May 16, 20
In RT_Config, it looks like you shouldn't even have to specify
WebBaseURL - it appears to look to see if WebPort is 443 and changes
it to https accordingly.
On Wed, May 16, 2012 at 11:20 AM, Giles Coochey wrote:
> I have the following set up:
>
> Clients --> Squid SSL Offload / Caching Reverse P
Can I build a string in an Action and access it somehow in the
template? Can the template call a sub or access a variable from the
Action?
--
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin
I wanted to arrange some text in the Create data on a ticket I'm
creating programmatically into a nice neat table, and so I created it
as
my $mimeObj = MIME::Entity->build(
Type => 'text/html',
Charset => 'UTF-8',
'Message-Id' => RT::Interface::Email::GenMessageId,
Subject => "Change Reques
I noticed that the database schema specifies different sequences for
the id fields in the users and groups tables. However, it appears
that RT doesn't actually use those sequences - "select
currval('user_id_seq')" returns 1 even though I have a bunch of users
created. The other thing I noticed is
On Fri, May 4, 2012 at 6:11 AM, Joshua Laroff wrote:
> my $cf = RT::CustomField->new($RT::SystemUser);
> $cf->LoadByName(Name => 'Customer');
>
> ...
>
> $self->TicketObj->AddCustomFieldValue(Field => $cf, Value => $result);
> return 1;
>
Actually, I think you can just pass the field name into
I'm seeing this on my console
[Thu May 3 23:06:29 2012] [warning]: DBD::Pg::st execute failed: ERROR:
relation "tickets" does not exist
LINE 1: SELECT main.* FROM Tickets main WHERE (main.Status != 'dele...
^ at
/usr/share/perl5/DBIx/SearchBuilder/Handle.pm line 509.
On Tue, May 1, 2012 at 9:45 AM, Paul Tomblin wrote:
> recursiveDelete($child->id);
>
Never mind, figured it out. That should be
"recursiveDelete($child->BaseObj->id);"
--
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin
I have a script that creates a ticket, then one or more child tickets of
that ticket in a different queue, and then one or more child tickets of
them in yet another queue. I also wrote a test to call that script and
then verify that the expected tickets exist, etc. However, when I try to
clean up
an Zakirov wrote:
> Create takes content as MIME::Entity object. Steal examples from Comment
> and/or MakeMimeEntity functions.
>
> Ruslan from phone.
> 24.04.2012 22:42 пользователь "Paul Tomblin" написал:
>
> When I'm creating a ticket with RT::Ticket api, how
When I'm creating a ticket with RT::Ticket api, how do I set the text that
goes into the box that says ""Describe the Issue below"? It appears to end
up as an attachment, and I can retrieve it from an existing ticket using
my $attachments = RT::Attachments->new(RT->SystemUser);
$attachments->Limi
On Tue, Apr 10, 2012 at 12:12 PM, Ruslan Zakirov wrote:
> >> # Find the custom field "myCustom"
> >> my $myCustom = $ticket->FirstCustomFieldValue("myCustom");
> >> $RT::Logger->debug("custom field = ". $myCustom);
> >>
> >> but it never gets the value. Is there somewhere else I need to look for
On Mon, Apr 9, 2012 at 3:35 PM, Paul Tomblin wrote:
> I have a ScripAction that activates when a ticket is resovled. If I set a
> custom field and resolve the ticket on the web site (
> http://localhost:8080/Ticket/Modify.html?id=1), I'm trying to pull out
> the new custom f
I have a ScripAction that activates when a ticket is resovled. If I set a
custom field and resolve the ticket on the web site (
http://localhost:8080/Ticket/Modify.html?id=1), I'm trying to pull out the
new custom field value in the Scrip using
# Find the custom field "myCustom"
my $myCustom = $
I can't find any documentation for the @CustomFields initialization as used
in some extensions in etc/initialdata (or any of the others you can set
there, like @Queues). I can't even find where that code is processed. Any
hints?
--
http://www.linkedin.com/in/paultomblin
http://careers.stackover
On Thu, Mar 29, 2012 at 4:54 AM, Tim Cutts wrote:
> > Insecure dependency in require while running with -T switch at
> /opt/rt4/lib/RT/Config.pm line 904.
>
> That's the key line. It looks like a conflict between using taint mode
> and the Config.pm file. Try the test without taint mode on? It
On Wed, Mar 28, 2012 at 6:52 PM, Joe Harris wrote:
> In your script add:
>
> use libs /opt/rt4/lib/
>
> To see if for some reason your env vars aren't seeing the RT path.
>
>
Turns out it's 'use lib qw{/opt/rt4/lib};', but it didn't seem to help.
Thanks anyway.
--
http://www.linkedin.com/in/
Is it possible to do a perl unit test that uses the RT config file? I
tried this is my test:
#!perl -T
use Test::More tests => 1;
use RT;
BEGIN {
RT::LoadConfig();
use_ok( 'RTx:FooBar' );
};
And I get some errors about being unable to use RT_SiteConfig.pm:
t/01-db.t . Couldn't
On Wed, Mar 28, 2012 at 11:03 AM, Kevin Falcone
wrote:
> On Wed, Mar 28, 2012 at 10:58:03AM -0400, Paul Tomblin wrote:
> >Is there any documentation somewhere on how to package up the
> extensions - not how to write
> >them, but how to do the other stuff like the Makefi
Is there any documentation somewhere on how to package up the extensions -
not how to write them, but how to do the other stuff like the Makefile.PL
and META.yml so that it installs. I tried just copying the Makefile.PL and
MANIFEST and META.yml from another project, but my html files didn't copy
I would like to put a group name into a custom field, and then see only the
tickets in a certain queue where that group is a group that I belong to. I
know how to do this from pgsql:
select t.*
from tickets t
join queues q on t.queue = q.id
join objectcustomfieldvalues ocfv on objecttype = 'RT::T
90 matches
Mail list logo