[ http://jira.codehaus.org/browse/DISPL-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
fabrizio giustina resolved DISPL-499. ------------------------------------- Resolution: Fixed Fix Version/s: 1.2 Thanks for reporting this. Fixed in displaytag 1.2 > Decorator.searchGetterFor() method dumps stacktraces into console > ----------------------------------------------------------------- > > Key: DISPL-499 > URL: http://jira.codehaus.org/browse/DISPL-499 > Project: DisplayTag > Issue Type: Bug > Components: Decorators > Reporter: Maciej Wegorkiewicz > Priority: Critical > Fix For: 1.2 > > > In Column class we have such code: > // if a decorator has been set, and if decorator has a getter for > the requested property only, check > // decorator > if (decorated > && this.row.getParentTable().getTableDecorator() != null > && > this.row.getParentTable().getTableDecorator().hasGetterFor(this.header.getBeanPropertyName())) > which checks if table decorator has getter for property of the data row (I > have no idea why it should). > If decorator has no getter, the flow goes to Decorator.searchGetterFor() > which checks the getter using code: > PropertyDescriptor pd = PropertyUtils.getPropertyDescriptor(this, > propertyName); > PropertyUtils throws then NoSuchMethodException and Decorator puts the > stacktrace into log, suggesting something is wrong in application. > Shouldn't it only return null? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel