[Zorba-coders] [Merge] lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba

2012-10-25 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba 
has been updated.

Status: Approved => Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
-- 
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba

2012-10-25 Thread Zorba Build Bot
Validation queue job coll-iter-state-init-2012-10-25T15-46-52.705Z is finished. 
The final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba

2012-10-25 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/coll-iter-state-init-2012-10-25T15-46-52.705Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba

2012-10-25 Thread David Graf
The proposal to merge lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba 
has been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
-- 
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba

2012-10-17 Thread David Graf
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba

2012-10-17 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba 
has been updated.

Status: Approved => Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
-- 
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba

2012-10-17 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, 
Needs Fixing < 1, Pending < 1. Got: 1 Approve, 1 Pending.
-- 
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba

2012-10-17 Thread Zorba Build Bot
Validation queue job coll-iter-state-init-2012-10-17T18-29-41.949Z is finished. 
The final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba

2012-10-17 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba 
has been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
-- 
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba

2012-10-17 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/coll-iter-state-init-2012-10-17T18-29-41.949Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba

2012-10-17 Thread Matthias Brantner
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba

2012-10-17 Thread David Graf
The proposal to merge lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba 
has been updated.

Commit Message changed to:

Init ZorbaCollectionIteratorState::theIteratorOpened properly.

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
-- 
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba

2012-10-17 Thread David Graf
David Graf has proposed merging lp:~zorba-coders/zorba/coll-iter-state-init 
into lp:zorba.

Commit message:
Init ZorbaCollectionIteratorState::theIteratorOpened properly.

Requested reviews:
  David Graf (davidagraf)
  Matthias Brantner (matthias-brantner)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055

Init ZorbaCollectionIteratorState::theIteratorOpened properly.

I made this fix because it caused a failure in 28msec's persistent store. 
Unfortunately, I am not able to reproduce a similar problem in Zorba's 
simplestore. Although I moved the failing code into a test (see diff).
-- 
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130055
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/runtime/collections/collections_impl.cpp'
--- src/runtime/collections/collections_impl.cpp	2012-10-15 13:35:59 +
+++ src/runtime/collections/collections_impl.cpp	2012-10-17 09:16:48 +
@@ -346,6 +346,7 @@
 void ZorbaCollectionIteratorState::init(PlanState& planState)
 {
   PlanIteratorState::init(planState);
+  theIteratorOpened = false;
   theIterator = NULL;
 }
 

=== modified file 'test/rbkt/Queries/zorba/collections/paging_1.xq'
--- test/rbkt/Queries/zorba/collections/paging_1.xq	2012-09-19 21:16:15 +
+++ test/rbkt/Queries/zorba/collections/paging_1.xq	2012-10-17 09:16:48 +
@@ -4,6 +4,7 @@
 import module namespace ref = "http://www.zorba-xquery.com/modules/node-reference";;
 
 declare namespace ann = "http://www.zorba-xquery.com/annotations";;
+declare namespace zerr = "http://www.zorba-xquery.com/errors";;
 
 declare function local:order($items)
 {
@@ -18,6 +19,18 @@
   dml:insert-nodes(xs:QName("ns:test2"), );
   dml:insert-nodes(xs:QName("ns:test2"), );
   dml:insert-nodes(xs:QName("ns:test2"), (, , ));
+
+  try {  
+  dml:collection(xs:QName("ns:test2"),
+ xs:anyURI("urn:uuid:----"),
+ 0);   
+  fn:error(); (: has to fail :)  
+  }  
+  catch zerr:ZSTR0066
+  {  
+(: all ok :) 
+  }
+
   (
 local:order(dml:collection(xs:QName("ns:test2"), 3)), ,
 local:order(dml:collection(xs:QName("ns:test2"), -1)), ,

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba

2012-10-17 Thread David Graf
The proposal to merge lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba 
has been updated.

Commit Message changed to:

Init ZorbaCollectionIteratorState::theIteratorOpened properly.

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130040
-- 
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130040
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/coll-iter-state-init into lp:zorba

2012-10-17 Thread David Graf
David Graf has proposed merging lp:~zorba-coders/zorba/coll-iter-state-init 
into lp:zorba.

Commit message:
Init ZorbaCollectionIteratorState::theIteratorOpened properly.

Requested reviews:
  David Graf (davidagraf)
  Matthias Brantner (matthias-brantner)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130040

Init ZorbaCollectionIteratorState::theIteratorOpened properly.

I made this fix because it caused a failure in 28msec's persistent store. 
Unfortunately, I am not able to reproduce a similar problem in Zorba's 
simplestore. Although I moved the failing code into a test (see diff).
-- 
https://code.launchpad.net/~zorba-coders/zorba/coll-iter-state-init/+merge/130040
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp