Debug version of CSS/JS files (decompressed) loaded even after Debug is Disabled via Cookies

5 views
Skip to first unread message

Dmitry A.

unread,
Dec 7, 2011, 4:50:48 PM12/7/11
to in-port...@googlegroups.com
Hi guys,


I think I have found another quick bug here related to Disabling DBG mode via Cookie.

Looks like CSS/JS minification still thinks that DBG is enabled even after we disable it via Cookies. In other words, d_4282565417_1319646149.js still loaded with DBG off via Cookie, but works correctly when turned off via debug.php file.

Alex, would you please create a task here. Hopefully it will be a quick fix.


DA

Alexander Obuhovich

unread,
Dec 8, 2011, 3:18:47 AM12/8/11
to in-port...@googlegroups.com
This maybe done because, when debugging with Zend Studio/PHPStorm In-Portal debugger is turned off for not to conflict with them. In such case I don't want for compressed files suddenly became uncompressed and I look at "debug.php" content to make sure debug mode was actually on before starting to use Zend Studio/PHPStorm.

Feature to turn off debugger via cookies actually sets same cookie as when Zend Studio/PHPStorm is used. That's why it behaves this way.


I have no idea how to turn off debugger via cookies in other way right now.






DA

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/xusZr0zY3ogJ.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.



--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Alexander Obuhovich

unread,
Dec 8, 2011, 4:49:50 AM12/8/11
to in-port...@googlegroups.com
debug_cookie_off_fix.patch

Dmitry A.

unread,
Dec 8, 2011, 10:48:48 PM12/8/11
to in-port...@googlegroups.com
Thanks Alex - Patch is working great!


DA
Reply all
Reply to author
Forward
0 new messages