Bugs item #2834643, was opened at 2009-08-10 02:51 Message generated for change (Settings changed) made by shcheklein You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2834643&group_id=129076
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: API Group: Sedna (current) >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Justin Johansson (justinjohansson) >Assigned to: Ivan Shcheklein (shcheklein) Summary: Failure to receive complete SednaSerializedResult Initial Comment: Problem occurs in sedna version="3.2" build="43" Java Driver when evaluating this atomic sequence: ('', 'a', 'b') i.e. 3 string items. first item is empty string, next is single character a, third is single character b. string-length of respective items is 0, 1, 1 Evaluating above in se_term gives correct result consisting of three lines (blank, line with a and line with b). Evaluating above via JavaDriver using SednaSerializedResult looping over with next() returns no results. This is double checked using SednaAdmin third party software from Great Team. Problem appears to be in NetOps.java source file at line 323. Problem is resolved for me by commenting out line indicated below. However I have not tested exhaustively to see if my fix breaks anything else. if (msg.instruction == NetOps.se_ItemEnd) { // Justin Johansson: Comment out following line to correct problem of // SednaSerializedResult iteration completing prematurely in edge case // when first item of result sequence is empty string. //JJ if (!gotTrace) sitem.item = null; sitem.hasNextItem = true; return sitem; } ---------------------------------------------------------------------- >Comment By: Ivan Shcheklein (shcheklein) Date: 2009-08-15 14:10 Message: Justin, thank you for this bug report. We've fixed this issue and added regression test in our test system. Please check the latest development build which is located at: http://www.modis.ispras.ru/FTPContent/sedna/development/ . ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2834643&group_id=129076 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Sedna-discussion mailing list Sedna-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sedna-discussion