From user-return-21413-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Tue Jul 3 13:57:58 2012 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D844AC4D8 for ; Tue, 3 Jul 2012 13:57:58 +0000 (UTC) Received: (qmail 5537 invoked by uid 500); 3 Jul 2012 13:57:57 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 5277 invoked by uid 500); 3 Jul 2012 13:57:57 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 5258 invoked by uid 99); 3 Jul 2012 13:57:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2012 13:57:56 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FSL_RCVD_USER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.53.103.106] (HELO mx1.bs.ptb.de) (192.53.103.106) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2012 13:57:49 +0000 Received: from mx1.bs.ptb.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 6B5C7B9112D for ; Tue, 3 Jul 2012 15:57:28 +0200 (CEST) Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by mx1.bs.ptb.de (Postfix) with ESMTP id 553F2B9112A for ; Tue, 3 Jul 2012 15:57:28 +0200 (CEST) In-Reply-To: References: To: user@couchdb.apache.org MIME-Version: 1.0 Subject: Re: different output from 1.1 and 1.2 X-KeepSent: C3BC4297:877EB887-C1257A30:004C288A; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.3 September 15, 2011 Message-ID: From: Thomas.Bock@ptb.de Date: Tue, 3 Jul 2012 15:57:25 +0200 X-MIMETrack: Serialize by Notes Server on LOTUS/PTB(Release 8.5.3 HF21|October 13, 2011) at 03.07.2012 15:57:18, Serialize complete at 03.07.2012 15:57:18, Serialize by Router on LOTUS/PTB(Release 8.5.3 HF21|October 13, 2011) at 03.07.2012 15:57:18 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable I'm not quite sure (in the sense that I don't understand) about the word equivalent;=20 but thank you very much so far! We have to do some debug stuff ... regards Thomas >=20 > Re: different output from 1.1 and 1.2 >=20 > Hi Thomas, >=20 > The JSON encoder/decoder changed between 1.1 and 1.2. Both of the=20 > results you show are valid JSON (and equivalent). If you could=20 > describe the processing problems you encountered, perhaps we can help=20 more. >=20 > B. >=20 > On 3 Jul 2012, at 13:41, Thomas.Bock@ptb.de wrote: >=20 > > Dear list, > >=20 > > we have problems with the new couchdb version 1.2.0: > >=20 > > As a minimal example we created a database on a 1.1.1=20 > > (servername: a73435) server and one on 1.2.0 (servername:a73434).=20 > >=20 > > Than we create a document in each database containing a string with a=20 > > Umlaut (=E4). > >=20 > > If we now replicate the databases one in each other we get from=20 version=20 > > 1.1.1: > >=20 > > curl http://a73435/umlauttest/bc8616f8f77089e2550d4930920006f0 > > { > > "=5Fid":"bc8616f8f77089e2550d4930920006f0", > > "=5Frev":"2-cd5eb92931214669f3f0df062c17f6ea", > > "test":"S\u00e4tze", > > ^^^^^^ > > "server":"a73435" > > } > >=20 > > curl http://a73435/umlauttest/5e5b01c479d58c493284992cb1000431 > > { > > "=5Fid":"5e5b01c479d58c493284992cb1000431", > > "=5Frev":"2-9c9c2b2283c9853528dae73b2856ec45", > > "test":"S\u00e4tze", > > ^^^^^^ > > "server":"a73434" > > } > >=20 > > however, from 1.2.0 we receive: > >=20 > > curl http://a73434/umlauttest/bc8616f8f77089e2550d4930920006f0 > > { > > "=5Fid":"bc8616f8f77089e2550d4930920006f0", > > "=5Frev":"2-cd5eb92931214669f3f0df062c17f6ea", > > "test":"S=E4tze", > > ^^^^^^ > > "server":"a73435" > > } > >=20 > > curl http://a73434/umlauttest/5e5b01c479d58c493284992cb1000431 > > { > > "=5Fid":"5e5b01c479d58c493284992cb1000431", > > "=5Frev":"2-9c9c2b2283c9853528dae73b2856ec45", > > "test":"S=E4tze", > > ^^^^^^ > > "server":"a73434" > > } > >=20 > > in other words two different results, disturbing our process chain.=20 > > If we replicate between two 1.1.1 instances we get identical documents = > > (with \u00e4) which is fine for us > >=20 > > Don't you think that the first result (result of 1.1.1) is more json=20 like.=20 > >=20 > >=20 > > regards from Berlin > > Thomas > >=20 >=20