Not display articles body

Moderator: crythias

Post Reply
mbolzoni
Znuny newbie
Posts: 7
Joined: 23 Mar 2017, 15:09
Znuny Version: 5.0.17
Real Name: Manuel Bolzoni

Not display articles body

Post by mbolzoni »

Hello all,
I have problems with the article display, not seen the parts in the iframe.
Example in Chrome/Firefox (ticket zoom):

Image

On Edge/Internet Explorer we see article body:

Image

Security options are disabled on OTRS:

Image

And security options on web server are:

Code: Select all

header always append x-frame-options "sameorigin"
header always set x-content-type-options "nosniff"
header always set x-xss-protection "1; mode=block"
Also disabling them does not work.
Anyone some idea to fix this issue?


Regards
Manuel
mbolzoni
Znuny newbie
Posts: 7
Joined: 23 Mar 2017, 15:09
Znuny Version: 5.0.17
Real Name: Manuel Bolzoni

Re: Not display articles body [OTRS 5]

Post by mbolzoni »

Can someone help me?

Image
Screenshot from Google Chrome version: 57.0.2987.110

Body of frame is empty but not on Edge/IE.
There is the option to force the articles in plain text or disable iframe usage on articles?
It may be using an option to improve the html viewing articles but actually decreases the view compatibility in browsers?

Please help me :(
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Not display articles body

Post by jojo »

please revert the security settings to the default
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
mbolzoni
Znuny newbie
Posts: 7
Joined: 23 Mar 2017, 15:09
Znuny Version: 5.0.17
Real Name: Manuel Bolzoni

Re: Not display articles body

Post by mbolzoni »

Security settings reverted:

Image
Config Settings in Framework → Core::Web

But don't see articles, the problem is still present.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Not display articles body

Post by jojo »

as it is working for others it might be a localissue with your browser or setup. I suggest to reset the config to the defaults and try again, also check if you are using the latest version of OTRS, followed the installation guidelines and if you have locally installed browser add ons which might be the cause
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
mbolzoni
Znuny newbie
Posts: 7
Joined: 23 Mar 2017, 15:09
Znuny Version: 5.0.17
Real Name: Manuel Bolzoni

Re: Not display articles body

Post by mbolzoni »

OTRS version is last (5.0.17), I was hoping that the update would solve the problem but has not done.
Reset the config to the defaults delete data of queues and tickets (and others)?
There is a procedure to check the values different from the defaults?

Thank you for the reply
mbolzoni
Znuny newbie
Posts: 7
Joined: 23 Mar 2017, 15:09
Znuny Version: 5.0.17
Real Name: Manuel Bolzoni

Re: Not display articles body

Post by mbolzoni »

Problem is DisableIFrameOriginRestricted (Framework → Core::Web): if disable response with "X-Frame-Options: DENY".
If X-Frame-Options is set on web server configuration on Chrome/Firefox cause error (double response).
Solution:
if you use X-Frame-Options rules on web server add "Header always unset X-Frame-Options" on mod_headers.c in directory on OTRS apache configuration (for example)

Now see all OTRS frame in all browser
Post Reply