Return-Path: Delivered-To: apmail-incubator-esme-dev-archive@minotaur.apache.org Received: (qmail 64348 invoked from network); 27 Aug 2009 17:39:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Aug 2009 17:39:26 -0000 Received: (qmail 9557 invoked by uid 500); 27 Aug 2009 17:39:26 -0000 Delivered-To: apmail-incubator-esme-dev-archive@incubator.apache.org Received: (qmail 9514 invoked by uid 500); 27 Aug 2009 17:39:26 -0000 Mailing-List: contact esme-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: esme-dev@incubator.apache.org Delivered-To: mailing list esme-dev@incubator.apache.org Received: (qmail 9504 invoked by uid 99); 27 Aug 2009 17:39:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 17:39:26 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of feeder.of.the.bears@gmail.com designates 209.85.211.176 as permitted sender) Received: from [209.85.211.176] (HELO mail-yw0-f176.google.com) (209.85.211.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 17:39:12 +0000 Received: by ywh6 with SMTP id 6so1695936ywh.0 for ; Thu, 27 Aug 2009 10:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=+ZMgOZf5EGbRPcQZ5Y4F09Efes6I6MB+1qfyk3SMVhs=; b=jrBRsg+obiA4Tovt/1Eb6le1h56CnK2CAd1QOEQTr3LNhvD8JRUPYra3YISqHDyzIK CFWUbwNO89CtuqL1jzbNPy0qhvL8xh2C1oVcChVs/FwhdZre/+PAEL48L8zFAeHh5Xq4 i+MvqGzMV4JopQIS+iBHRLip/DEW8085lgVAQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JfQ+0y4yugC87098rKQvRR901IEOzq66PLSZpBEK19rjX3VkU4tLVBjfipM/ZbXVLe ZIIne9F0Pu55Ce9G3fXH7EiwcRzqNXdZRn33JVuwCXgE25aps4y1HCzv1kPHOYlYflbY cwDbn9r1V3QIw9kpJ+T1Wc+C8Z1tb5Zv+M9Kk= MIME-Version: 1.0 Received: by 10.90.245.3 with SMTP id s3mr102749agh.43.1251394731417; Thu, 27 Aug 2009 10:38:51 -0700 (PDT) In-Reply-To: References: Date: Thu, 27 Aug 2009 10:38:50 -0700 Message-ID: Subject: Re: [Lift] JSON handler doesn't respond From: David Pollak To: esme-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=00163628407a70a8ec0472230af5 X-Virus-Checked: Checked by ClamAV on apache.org --00163628407a70a8ec0472230af5 Content-Type: text/plain; charset=UTF-8 Okay... I think I found the problem and am fixing it in Lift. On Sun, Aug 16, 2009 at 4:16 PM, Vassil Dichev wrote: > > I'm not sure this will help. I really need the steps to reproduce it > > because I'll need to reproduce it again and again to insert debug info to > > see why it's happening. Reproduction steps (including perhaps browser > > versions, OS versions, etc.) would be a lot more valuable. > > My intention was to create an environment, where one can start > debugging right away. The browser and OS versions are part of the > virtual image. > > I realized VirtualBox images are not at all convenient, so I tried to > debug myself. If it's what I think it is, it's embarrassing I didn't > see it before. I had a hunch that it's related to an expiring session. > Sure enough: > > object JsonPoster extends SessionVar(S.buildJsonFunc{ > ... > > I rewrote to extend JsonHandler, where the JsonFunc seems to be > rebuilt when the session expires. Even if it doesn't solve the bug, it > at least improves readability. > > Vassil > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --00163628407a70a8ec0472230af5--