[rt-users] MIME email not decoding - Sender or RT?

2014-05-27 Thread Cena, Stephen (ext. 300)
We've recently upgraded from RT 4.2.3 to 4.2.4. We have one user that when they 
email us now, RT is recording the MIME encoded email and not decoding it. Thus 
far, it appears to only be from one specific user. Is there anything I should 
check on my RT configuration before I ask the user what they are using for mail 
software?

Stephen J. Cena
Systems Administrator - MIS/IT Dept
Quality Vision International
850 Hudson Ave
Rochester,NY 14620
Phone: 585-544-0450 x300
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Please report email problems to: postmas...@qvii.com

QVII MIS/IT Dept - We do what we must because we can.
Thank you for helping us help you help us all.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training

Re: [rt-users] Unable to paste into Rich Text Editor since

2014-05-27 Thread Keith Macpherson
I, like Stephen and yourself recently upgraded to 4.2.4 and noticed
pasting had gone AWOL, but interesting not all the time. It's a bit
quirky, so initially put it down to something I was doing.

Jan Kurianski wrote, On 27/05/2014 03:31:
 If you open the JavaScript console afterwards, do you see an error?


In my case, the debugger in each browser (Fx, IE, GC, and Safari) all
report 404 errors. CTRL-V sometimes works, but it's really hit-and-miss.
Chrome's JS debugger reported the following:

Failed to load resource: the server responded with a status of 404 (Not
Found)
(http://rt.internal.server/Ticket/plugins/pastefromword/filter/default.js?t=D08E;.


When using the CKEditor item to paste plain text, the debugger reports:

GET
http://rt.internal.srv/Ticket/plugins/clipboard/dialogs/paste.js?t=D08E
404 (Not Found) squished-884af658b44cdd5c585766ea0a0518ba.js:3325
CKEDITOR.tools.extend.append
squished-884af658b44cdd5c585766ea0a0518ba.js:3325
CKEDITOR.tools.extend.appendTo
squished-884af658b44cdd5c585766ea0a0518ba.js:3303
j squished-884af658b44cdd5c585766ea0a0518ba.js:3429
CKEDITOR.scriptLoader.load squished-884af658b44cdd5c585766ea0a0518ba.js:3429
CKEDITOR.tools.extend.openDialog
squished-884af658b44cdd5c585766ea0a0518ba.js:3742
(anonymous function) squished-884af658b44cdd5c585766ea0a0518ba.js:3784
Uncaught Error: [CKEDITOR.dialog.openDialog] Dialog paste failed when
loading definition. squished-884af658b44cdd5c585766ea0a0518ba.js:3741

Instead of using the Debian installers, RT4 was installed using the
tarball into the default /opt/rt4 directory. Browsing through that
folder hierarchy, I can see that both the clipboard/dialogs/paste.js and
the pastefromword/filter/default.js exist. Permissions and ownership are
root:bin and 0644, respectively.

The upgrade didn't report any errors so not sure where to look for
problems. I'm assuming the issue is isolated to a relatively low number
of installs.

If I can supply further information that may elucidate the problem more
clearly, let me know.

- Keith

 Cheers,
 Jan

 -Original Message-
 From: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of 
 Cena, Stephen (ext. 300)
 Sent: Friday, 23 May 2014 10:30 PM
 To: rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] Unable to paste into Rich Text Editor since

 I'm seeing the same thing here (submitted my own comment to the group). I've 
 tried Firefox 29, IE10 and Chrome 35. It's hit or miss. Sometimes when I 
 right click  select Paste the window flashes  nothing happens. Sometimes 
 when I use CTRL+V, text will paste.


 Stephen J. Cena
 Systems Administrator - MIS/IT Dept
 Quality Vision International
 850 Hudson Ave
 Rochester,NY 14620
 Phone: 585-544-0450 x300
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 Please report email problems to: postmas...@qvii.com

 QVII MIS/IT Dept - We do what we must because we can.
 Thank you for helping us help you help us all.
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

 --

 Message: 1
 Date: Mon, 19 May 2014 13:23:08 -0400
 From: Kevin Falcone falc...@bestpractical.com
 To: rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] Unable to paste into Rich Text Editor since
   upgrading to RT 4.2.4
 Message-ID: 20140519172308.gb5...@jibsheet.com
 Content-Type: text/plain; charset=us-ascii

 On Fri, May 16, 2014 at 10:57:57PM +, Jan Kurianski wrote:
Since upgrading to RT 4.2.4, users are unable to paste into the rich text 
 editor.  Only
bothered to reproduce this with Google Chrome on a Mac, as the error 
 indicates that the
problem is browser-wide.
 Just tested with Google Chrome on a Mac 34.0.1847.137 and copy/paste html or 
 plain text into the rich text editor on new ticket creation works fine.

 I assume you're actually pasting some rich text from a word document, which 
 is important to the bug report, and not just random plain text.

 -kevin

1. Ensure your configuration has the Rich Text Editor enabled.
2. Reply to any ticket (or compose a new ticket).
3. Click on the text editor to give it focus.
4. Paste, using keyboard shortcut.
What happens:
Nothing.
What is expected:
Text from the clipboard appears in the editor.
Chrome shows the following errors in the console (where 
 [1]https://redacted/rt is the root of
my RT site):
   GET 
 https://redacted/rt/Ticket/plugins/pastefromword/filter/default.js?t=D08E 
 404 (Not
Found) squished-884af658b44cdd5c585766ea0a0518ba.js:3325
   Uncaught TypeError: undefined is not a function
squished-884af658b44cdd5c585766ea0a0518ba.js:4040
The dynamic GET originates from this file (when un-squished):
/opt/rt4/share/static/RichText/ckeditor.js
CKEDITOR.getUrl(a.config.pasteFromWordCleanupFile||d+filter/default.js)
A hacky patch that solves the problem for me:

Re: [rt-users] Unable to paste into Rich Text Editor since

2014-05-27 Thread Alex Vandiver
On 05/27/2014 11:22 AM, Keith Macpherson wrote:
 I, like Stephen and yourself recently upgraded to 4.2.4 and noticed
 pasting had gone AWOL, but interesting not all the time. It's a bit
 quirky, so initially put it down to something I was doing.

This is fixed in 4.2-trunk, by way of the 4.2/ckeditor-base-path branch:
https://github.com/bestpractical/rt/commit/2e2961b6

It will be in 4.2.5, which I expect to release an rc1 of in the next
week or so.
 - Alex
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training


Re: [rt-users] MIME email not decoding - Sender or RT?

2014-05-27 Thread Alex Vandiver
On 05/27/2014 10:36 AM, Cena, Stephen (ext. 300) wrote:
 We've recently upgraded from RT 4.2.3 to 4.2.4. We have one user that
 when they email us now, RT is recording the MIME encoded email and not
 decoding it. Thus far, it appears to only be from one specific user. Is
 there anything I should check on my RT configuration before I ask the
 user what they are using for mail software?

RT 4.2.4 didn't change anything notable about incoming mail parsing.
Check your RT logs, as well as the Show full headers of mail in RT.
 - Alex
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training


[rt-users] Dealing with old CustomFields after upgrade from 3.6.10 to 4.2.4

2014-05-27 Thread LABANJ2
I am a newbie (but not an alcoholic... {:-)}):
I just installed a new 4.2.4 and even the update to the Oracle Schema went 
fine (I looked at the schema in the ../etc and looked at the schema in the 
Toad and they were fine.). However, I have a lot of custom stuff in the 
old installation and several Custom Fields and Custom Templates, and the 
ClearTrust on top of it, and so on... When I use the menu the PullDown 
Menu (that  is between [New Ticket In] [ThePullDownMenu] [Search Field] I 
will be fine on some items and on the Custom Ones I will get

: An internal RT error has occurred. Your administrator can find more 
details in RT's log files. 
When I go to logs, I will see lots of stack traces, like
[5416] [Tue May 27 19:52:36 2014] [error]: could not find component for 
path 'EditCustomFieldNWIE_UID_Callup_Lookup'

Stack:
  [/u01/app/RT-4.2.4-443/share/html/Elements/EditCustomField:111]
  [/u01/app/RT-4.2.4-443/share/html/Elements/EditCustomFields:65]
 
[/u01/app/RT-4.2.4-443/share/html/Elements/EditCustomFieldCustomGroupings:56]
  [/u01/app/RT-4.2.4-443/share/html/Widgets/TitleBox:56]
 
[/u01/app/RT-4.2.4-443/share/html/Elements/EditCustomFieldCustomGroupings:57]
  [/u01/app/RT-4.2.4-443/share/html/Ticket/Create.html:119]
  [/u01/app/RT-4.2.4-443/share/html/Ticket/autohandler:66]
  [/u01/app/RT-4.2.4-443/sbin/../lib/RT/Interface/Web.pm:682]
  [/u01/app/RT-4.2.4-443/sbin/../lib/RT/Interface/Web.pm:370]
  [/u01/app/RT-4.2.4-443/share/html/autohandler:53] 
(/u01/app/RT-4.2.4-443/sbin/../lib/RT/Interface/Web/Handler.pm:210)
How should I approach the problem? Just brutal copy of old stuff from  
RT-3.6.19.../local/ did not work and asked me to download mod_perl and the 
likes (I work under FCGI under IHS 8.0).

Any good write-ups on the approach of upgrading the custom fields, custom 
templates, ClearTrust (I know perl well, but I do not know RT...)?

Jan Labanowski
laba...@nationwide.com
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training