|
Re: Possible Bug in 2.2 when processing extended content in LocalizedContentVisitor [message #254983 is a reply to message #254043] |
Tue, 11 September 2007 08:07 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
S. Forbes![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=sforbes%40sforbes.myip.org) Messages: 35 Registered: July 2009 |
Member |
|
|
Below is the fix that I have implemented, in case anyone is interested.
Sorry it's just a CVS diff from BIRT_2_2_0_Branch, but hopefully that
should be enough, I'm not sure what the correct procedure for submitting
these is.
RCS file: /cvsroot/birt/source/org.eclipse.birt.data/src/org/eclipse/b irt/data/engine/impl/ResultIterator.java,v
retrieving revision 1.86
diff -r1.86 ResultIterator.java
753a754,755
> if ( odiResult != null )
> {
754a757,761
> }
> else
> {
> return null;
> }
RCS file: /cvsroot/birt/source/org.eclipse.birt.report.engine/src/org/ eclipse/birt/report/engine/data/dte/QueryResultSet.java,v
retrieving revision 1.2
diff -r1.2 QueryResultSet.java
366c366,370
< else
---
> else {
> IResultMetaData md = rs.getResultMetaData();
> if ( md == null ) {
> return emptyResultMetaData;
> } else {
367a372,373
> }
> }
RCS file: /cvsroot/birt/source/org.eclipse.birt.report.engine/src/org/ eclipse/birt/report/engine/presentation/LocalizedContentVisi tor.java,v
retrieving revision 1.26.2.1
diff -r1.26.2.1 LocalizedContentVisitor.java
668c668
< if ( rsets != null )
---
> if ( rsets != null && rsets[0] != null )
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03586 seconds