Re: [rt-users] Saved search results have wrong URL

2015-07-20 Thread Tom Robinson
On 21/07/15 08:48, Tom Robinson wrote:
> Hi,
>
> I've just updated from RT 4.0.2 to RT 4.2.11 but have an issue with my saved 
> search results
> generating links with /rt3/ in the path. When I remove the /rt3/ component 
> from the URL manually, I
> can browse to the ticket.
>
> Here's what the search generates for a ticket link:
>
> http://myrt4/rt3/Ticket/Display.html?id=2379
>
> But when I click through I get 'Page not found - The page you requested could 
> not be found - Please
> check the URL and try again.'
>
> If I manually remove the /rt3/ component in the location bar, I can browse to 
> the ticket:
>
> http://myrt4/Ticket/Display.html?id=2379
>
> What is happening to corrupt the ticket URLs?
>
Found it. The query has corrupted/bad hrefs:

'__id__/TITLE:#',
'__Subject__/TITLE:Subject',

Probably should look more like these:
'__id__/TITLE:#',
'__Subject__/TITLE:Subject',

I've since found a couple of saved queries that exhibit the same behaviour. All 
queries have a
specific CustomField in the search criteria. I've not found the exact cause of 
the conflict but it's
not so onerous to recreate these queries.



signature.asc
Description: OpenPGP digital signature


Re: [rt-users] Customizing with overlays, question about file path

2015-07-20 Thread Todd Wade

On 7/16/15 10:46 PM, Roman Massey wrote:

I have an easy question. Where do I create the “local” dir to put
overlays? Confused because there is the path /usr/src/rt-4.2.9/ but also
/opt/rt4/. Do I make /usr/src/rt-4.2.9/local/? or /opt/rt4/local/?


The latter, /opt/rt4/local

/usr/src/rt-4.2.9 is likely where the source of the extension was 
extracted to and built in. RT was likely then installed in to /opt/rt4


Where does your web server configuration look for RT runtime files? 
Thats you best clue.


Regards,



[rt-users] Saved search results have wrong URL

2015-07-20 Thread Tom Robinson
Hi,

I've just updated from RT 4.0.2 to RT 4.2.11 but have an issue with my saved 
search results
generating links with /rt3/ in the path. When I remove the /rt3/ component from 
the URL manually, I
can browse to the ticket.

Here's what the search generates for a ticket link:

http://myrt4/rt3/Ticket/Display.html?id=2379

But when I click through I get 'Page not found - The page you requested could 
not be found - Please
check the URL and try again.'

If I manually remove the /rt3/ component in the location bar, I can browse to 
the ticket:

http://myrt4/Ticket/Display.html?id=2379

What is happening to corrupt the ticket URLs?

Kind regards,
Tom

-- 

Tom Robinson
IT Manager/System Administrator

MoTeC Pty Ltd

121 Merrindale Drive
Croydon South
3136 Victoria
Australia

T: +61 3 9761 5050
F: +61 3 9761 5051   
E: tom.robin...@motec.com.au




signature.asc
Description: OpenPGP digital signature


Re: [rt-users] Error with MakeClicky

2015-07-20 Thread Pierre Legendre
Should I clean the mason cache ?

16.07.2015, 12:05, "Pierre Legendre" :
> Moreover, when we try to load the bogus comment 
> (https:///rt/RTIR/Display.html?id=369?id=369#txn-2475), we have the 
> following error in interface "Could not load ticket 369?id=369) and these 
> errors in logs :
>
> [21601] [Thu Jul 16 08:50:39 2015] [debug]: Tried to load a bogus ticket id: 
> '369?id=369' (/opt/rt4/sbin/../lib/RT/Ticket.pm:139)
> [21601] [Thu Jul 16 08:50:39 2015] [error]: Could not load ticket 369?id=369 
> (/opt/rt4/share/html/Elements/Error:78)
> [21601] [Thu Jul 16 08:50:39 2015] [debug]: Tried to load a bogus ticket id: 
> '369?id=369' (/opt/rt4/sbin/../lib/RT/Ticket.pm:139)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id 
> in concatenation (.) or string at 
> /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged 
> line 153. 
> (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:153)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id 
> in hash element at 
> /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged 
> line 165. 
> (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:165)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id 
> in numeric ne (!=) at 
> /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged 
> line 172. 
> (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:171)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id 
> in hash element at 
> /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged 
> line 179. 
> (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:179)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id 
> in numeric ne (!=) at 
> /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged 
> line 186. 
> (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:185)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id 
> in concatenation (.) or string at 
> /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged 
> line 194. 
> (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:194)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id 
> in concatenation (.) or string at 
> /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged 
> line 195. 
> (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:195)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id 
> in concatenation (.) or string at 
> /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged 
> line 197. 
> (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:197)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id 
> in concatenation (.) or string at 
> /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged 
> line 198. 
> (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:198)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value in 
> numeric eq (==) at 
> /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged 
> line 202. 
> (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:202)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value in 
> numeric ne (!=) at 
> /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged 
> line 207. 
> (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:202)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id 
> in concatenation (.) or string at 
> /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged 
> line 208. 
> (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:202)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value 
> $type in string eq at 
> /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged 
> line 216. 
> (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:216)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id 
> in concatenation (.) or string at 
> /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged 
> line 226. 
> (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:226)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id 
> in concatenation (.) or string at 
> /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged 
> line 234. 
> (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:233)
> [21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id 
>