Path

ez projects / admin2pp / forum / general / causes a bug in admin inter...


causes a bug in admin interface when not logged in

You need to be logged in to post messages in the forums. New users may register here.

Mavko Žmak

Member since:
29 June 2004

Posts: 52

Thursday 08 September 2011 11:18:13 am

When this extension is enabled and you go to the admin interface without being logged in (the user/login page is presented), a lot of unneeded .js files are loaded.
Among them also the .js files for OE are loaded and one of them causes a "Request-URI too large" error response. On some servers this triggers security mechanisms that block access from the user's computer.

This issue is also described here:

http://issues.ez.no/IssueView.php?Id=18628&ProjectId=4

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Up

Damien Pobel

Member since:
19 September 2005

Posts: 40

Thursday 08 September 2011 4:55:24 pm

Hi Marko,

When this extension is enabled and you go to the admin interface without being logged in (the user/login page is presented), a lot of unneeded .js files are loaded.

this is done on purpose. The idea is to asynchronously fill the browser's cache while the user is filling the login form (or trying to remember his password :-)) to speed up the admin interface page loadings.

Among them also the .js files for OE are loaded and one of them causes a "Request-URI too large" error response. On some servers this triggers security mechanisms that block access from the user's computer.

yeah I noticed this issue too, as a workaround, you can remove the guilty JavaScript file from [PreloadSettings]/OEJavaScriptFiles[] array in admin2pp.ini

Cheers

Damien
Blog: http://damien.pobel.fr/
Planet eZ Publish.fr : http://www.planet-ezpublish.fr/

Up

Mavko Žmak

Member since:
29 June 2004

Posts: 52

Tuesday 13 September 2011 10:31:04 am

Is this a bug in admin2pp or a bug in ezoe?

From where is this large string generated?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Up

Damien Pobel

Member since:
19 September 2005

Posts: 40

Tuesday 13 September 2011 11:12:56 am

Hi Marko,

I haven't checked in detail yet but it's more an admin2pp issue that comes from a change of behavior in TinyMCE/Online Editor. If I remember correctly, in earlier versions, preloading the JavaScript files in the login page did not generate any issue, it seems like now something is wrongly executed.

Cheers

Damien
Blog: http://damien.pobel.fr/
Planet eZ Publish.fr : http://www.planet-ezpublish.fr/

Up

Mavko Žmak

Member since:
29 June 2004

Posts: 52

Friday 21 October 2011 5:54:53 pm

Any chances to have this fixed?

I would propose a fix, but I have no idea where to start...

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Up

Mavko Žmak

Member since:
29 June 2004

Posts: 52

Monday 24 October 2011 2:39:09 am

EDIT: this was posted in the wrong thread

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Up

You need to be logged in to post messages in the forums. New users may register here.