----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/9017/#review15535 -----------------------------------------------------------
http://svn.apache.org/repos/asf/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/render/RenderingGadgetRewriter.java <https://reviews.apache.org/r/9017/#comment33541> Can we catch PropertyNotFoundException here rather than the general Exception? Also, logging the exact variable that can't be parsed would provide more accurate info. - Marshall Shi On Jan. 21, 2013, 4:44 a.m., Zhi Hong Yang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/9017/ > ----------------------------------------------------------- > > (Updated Jan. 21, 2013, 4:44 a.m.) > > > Review request for shindig, Ryan Baxter, Dan Dumont, Stanton Sievers, and > Rich Thompson. > > > Description > ------- > > In https://reviews.apache.org/r/8184/ patch, there is a bug: > When there is variable can not be resolved by shindig EL(i.e. ${notexist}), > it will throw PropertyNotFoundException in gadget renderring and the gadget > renderring will be failed. In this patch the exception will be ignored if the > variable can not be resolved by shindig EL. > > > This addresses bug shindig-1588. > https://issues.apache.org/jira/browse/shindig-1588 > > > Diffs > ----- > > > http://svn.apache.org/repos/asf/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/render/RenderingGadgetRewriter.java > 1436200 > > Diff: https://reviews.apache.org/r/9017/diff/ > > > Testing > ------- > > > Thanks, > > Zhi Hong Yang > >