Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 18081 invoked from network); 13 Dec 2006 15:49:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Dec 2006 15:49:44 -0000 Received: (qmail 251 invoked by uid 500); 13 Dec 2006 15:49:49 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 203 invoked by uid 500); 13 Dec 2006 15:49:48 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 166 invoked by uid 99); 13 Dec 2006 15:49:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 07:49:48 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jasnell@gmail.com designates 64.233.184.226 as permitted sender) Received: from [64.233.184.226] (HELO wr-out-0506.google.com) (64.233.184.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 07:49:36 -0800 Received: by wr-out-0506.google.com with SMTP id i2so162118wra for ; Wed, 13 Dec 2006 07:49:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=rhW66xWVz+AZrCCGIZvFjJdDU/z07BT1lXuJ/DeELjmPDXewT+6G+xQGAnBYqW7/ohXWEYb2XycIYx/VliIhMsxFhqE/Z1fFlTzt63JH7C+yA2Gh493q6lHlvEv/RSV8M00Dye5BvSt7LsnChHNRgkPHZsa3gDQCork6xickqGM= Received: by 10.90.65.11 with SMTP id n11mr819583aga.1166024945436; Wed, 13 Dec 2006 07:49:05 -0800 (PST) Received: from ?192.168.1.109? ( [67.181.218.96]) by mx.google.com with ESMTP id 6sm1304834wrh.2006.12.13.07.49.04; Wed, 13 Dec 2006 07:49:05 -0800 (PST) Message-ID: <458020E9.8000005@gmail.com> Date: Wed, 13 Dec 2006 07:48:57 -0800 From: James M Snell User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: abdera-dev@incubator.apache.org Subject: Re: [jira] Reopened: (ABDERA-27) used setContentAsXhtml but content body is empty References: <19019692.1166023943145.JavaMail.jira@brutus> In-Reply-To: <19019692.1166023943145.JavaMail.jira@brutus> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org * Branch created * Test case and fix checked in (trunk and 0.2.1) * Change to 0.2.0 rolled back * I've got zips for 0.2.1 ready to go Should we go now (my preference) or wait to see if we get more bugs? This is a critical bug since creating entries with XHTML content will not work properly. - James Garrett Rooney (JIRA) wrote: > [ http://issues.apache.org/jira/browse/ABDERA-27?page=all ] > > Garrett Rooney reopened ABDERA-27: > ---------------------------------- > > Assignee: Garrett Rooney > > Reopening so we remember to write a test case for this. I'll get to it if nobody else does. > >> used setContentAsXhtml but content body is empty >> ------------------------------------------------ >> >> Key: ABDERA-27 >> URL: http://issues.apache.org/jira/browse/ABDERA-27 >> Project: Abdera >> Issue Type: Bug >> Environment: Abdera .2 >> Reporter: Nell Gawor >> Assigned To: Garrett Rooney >> >> I saw that Abdera .2 was out, so I downloaded it. I made a few tweaks, but the code that was working before is no longer working. Specifically the code: >> Entry entry = new FOMFactory().newEntry(); >> entry.setId("http://localhost:8080/shoes/3"); >> entry.setTitle("wrestling"); >> entry.addAuthor("shoeShop.com"); >> entry.setUpdated(new Date()); >> String context = "

10

" + >> "

black

"; >> entry.setContentAsXhtml(context); >> results in an entry of: >> http://localhost:8080/shoes/3wrestlingshoeShop.com2006-12-06T18:17:09.984Z >> That is, the content body is empty... is this a bug, or has there been some less obvious change to the API? >