Minor bug with plone.session and old style plone.css script

Luca Fabbri <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <CAGfGq=Y0k6-W0w97K32Cf-BQFFnUxuji8Z_qygWLeKdAkrUqyg@mail.gmail.com>
Hi all,

I found a minor issue when you call the old style "plone.css" script
and you also have the plone.session product activated.

The problem is related to the fake CSS generated by the product, this
will make the plone.css call to a NotFound error.

The fix I want to provide is simple: try/except/pass the NotFound
error imported by zExceptions and in my tests this is working.

Any opposition about this approach? I'm asking because I want to skip
the multi-pull-request on every branches we have on Products.CMPlone
:)

BTW: where I can apply this? branch 4.2.x, 4.3.x, ... and? I also wee
a 4.4.x (???) and the master (but for what I know master/plone 5 will
drop CMF skins resources, right?)

-- 
-- luca

twitter: http://twitter.com/keul
linkedin: http://linkedin.com/in/lucafbb
blog: http://blog.keul.it/

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.