Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-1021025 into lp:zorba

2012-07-05 Thread Ghislain Fourny
Review: Approve

Nice catch Dennis :-)
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1021025/+merge/113442
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/bug-1021025 into lp:zorba

2012-07-05 Thread Till Westmann
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1021025/+merge/113442
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/bug-1021025 into lp:zorba

2012-07-05 Thread Till Westmann
The proposal to merge lp:~zorba-coders/zorba/bug-1021025 into lp:zorba has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-1021025/+merge/113442
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1021025/+merge/113442
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/bug-1021025 into lp:zorba

2012-07-05 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug-1021025-2012-07-05T16-52-53.307Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1021025/+merge/113442
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/bug-1021025 into lp:zorba

2012-07-05 Thread Zorba Build Bot
Validation queue job bug-1021025-2012-07-05T16-52-53.307Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1021025/+merge/113442
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/bug-1021025 into lp:zorba

2012-07-05 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/bug-1021025 into lp:zorba has been 
updated.

Status: Approved = Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-1021025/+merge/113442
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1021025/+merge/113442
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/bug-1021025 into lp:zorba

2012-07-04 Thread Dennis Knochenwefel
Dennis Knochenwefel has proposed merging lp:~zorba-coders/zorba/bug-1021025 
into lp:zorba.

Requested reviews:
  Till Westmann (tillw)
  Ghislain Fourny (gislenius)
Related bugs:
  Bug #1021025 in Zorba: in json_impl.cpp data  from a zstring is read after 
destruction
  https://bugs.launchpad.net/zorba/+bug/1021025

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-1021025/+merge/113442

fix for bug #1021025
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1021025/+merge/113442
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/runtime/json/json_impl.cpp'
--- src/runtime/json/json_impl.cpp	2012-06-28 04:14:03 +
+++ src/runtime/json/json_impl.cpp	2012-07-04 18:06:19 +
@@ -25,6 +25,7 @@
 #include system/globalenv.h
 
 #include util/mem_streambuf.h
+#include util/string_util.h
 
 #include jsonml_array.h
 #include snelson.h
@@ -63,6 +64,7 @@
   options_type options;
   istringstream iss;
   mem_streambuf buf;
+  zstring s;
 
   PlanIteratorState *state;
   DEFAULT_STACK_INIT( PlanIteratorState, state, planState );
@@ -78,7 +80,6 @@
   if ( cur_item-isStreamable() ) {
 is = cur_item-getStream();
   } else {
-zstring s;
 cur_item-getStringValue2( s );
 // Doing it this way uses the string data in-place with no copy.
 buf.set( s.data(), s.size() );
@@ -104,7 +105,9 @@
   catch ( json::illegal_character const e ) {
 throw XQUERY_EXCEPTION(
   zerr::ZJPE0001_ILLEGAL_CHARACTER,
-  ERROR_PARAMS( e.get_char() ),
+  ERROR_PARAMS(zstring(#x) + 
+  BUILD_STRING(std::uppercase  std::hex
+(static_castunsigned int(e.get_char())  0xFF)) ),
   ERROR_LOC( e.get_loc() )
 );
   }

-- 
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/bug-1021025 into lp:zorba

2012-07-04 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug-1021025-2012-07-04T18-07-03.899Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1021025/+merge/113442
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/bug-1021025 into lp:zorba

2012-07-04 Thread Zorba Build Bot
Validation queue job bug-1021025-2012-07-04T18-07-03.899Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1021025/+merge/113442
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/bug-1021025 into lp:zorba

2012-07-04 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve  1, Disapprove  1, 
Needs Fixing  1, Pending  1. Got: 2 Pending.
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1021025/+merge/113442
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/bug-1021025 into lp:zorba

2012-07-04 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/bug-1021025 into lp:zorba has been 
updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-1021025/+merge/113442
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1021025/+merge/113442
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