5 +1 and no other votes, done.
On Fri, Sep 16, 2011 at 5:47 PM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
Hi devs,
Right now it's pretty dangerous to manipulate script services from Velocity.
If even you try to get a service that does not exist that will produce
an exception which will kill your script for good. It's a pain to have
use case like using a service only if it's here and fallback on
something else otherwise.
For example even if you disabled CSRF XWiki will fill in many places
if you even think or removing the csrf jar. That seems pretty bad to
me.
The exception does not bring much value to scripts here (even for
scripts supporting it) so I proposed to return null instead of
throwing an exception.
WDYT ?
Here is my +1.
--
Thomas Mortagne
--
Thomas Mortagne