掲示板

Help with debugging AUI in firebug

12年前 に J T によって更新されました。

Help with debugging AUI in firebug

New Member 投稿: 15 参加年月日: 10/07/27 最新の投稿
Is there a way (perhaps thru portal-ext.properties, AUI_Config{}, YUI_config{} etc) to have liferay pull aui javascript files that are amenable for debugging in say firebug (step in, step-out) etc? In firebug the javascript gets loaded as 1 long line and it makes really hard to understand whats going on. I assume that the aui files (modules) are are served from our local install of liferay (/html/js)and not some CDN when we run locally...so shouldn't n it be possible?
thumbnail
12年前 に David H Nebinger によって更新されました。

RE: Help with debugging AUI in firebug

Liferay Legend 投稿: 14914 参加年月日: 06/09/02 最新の投稿
Disable the javascript fast loading, possibly also disable the minifier filter. All handled through your portal-ext.properties file...
12年前 に J T によって更新されました。

RE: Help with debugging AUI in firebug

New Member 投稿: 15 参加年月日: 10/07/27 最新の投稿
Thanks, I tried the suggestion and now face the same issue as this poster:
http://www.liferay.com/community/forums/-/message_boards/message/11706373/maximized
My dockbar spins eternally and never renders...any ideas??
I'm on 6.1GA (Tomcat bundle CE and EE)

Just to be clear: the value of javascript.fast.load does not affect the behavior (that seemed the assumption in the bug report). Simply setting either of the following properties to false results in an unusable dockbar:
com.liferay.portal.servlet.filters.minifier.MinifierFilter=false
com.liferay.portal.servlet.filters.strip.StripFilter=false