esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <hirsch.d...@gmail.com>
Subject Re: New Jira item for user list page
Date Wed, 07 Oct 2009 06:31:17 GMT
Who can fix this error? Is it a Lift problem or is it even deeper?

 I could drop the DB on stax to get rid of the problem but would rather not.

Is there some sort of a quick and dirty fix that we could do it ESME
to continue our testing?

D.

On Tue, Oct 6, 2009 at 9:50 PM, David Pollak
<feeder.of.the.bears@gmail.com> wrote:
> On Tue, Oct 6, 2009 at 12:44 PM, Vassil Dichev <vdichev@apache.org> wrote:
>
>> I think I found a problem with the TextileParser:
>>
>> (TextileParser.toHtml("bq. Block quote") \ "p").map(_.attributes).first
>> scala.xml.MetaData = null
>>
>>
> Is this in Lift or ESME?
>
>
>> The documentation for MetaData indicates that when the attribute list
>> is empty, it should be Null (not null!), which is actually the object
>> scala.xml.Null! It seems null is not a valid value, or at least
>> LiftSession doesn't expect it and barfs up the NullPointerException.
>>
>> Vassil
>>
>>
>> On Mon, Oct 5, 2009 at 4:15 PM, Anne Kathrine Petter√łe
>> <akpetteroe@gmail.com> wrote:
>> > Happy to hear it had an explanation ;)
>> >
>> > /Anne
>> >
>> > On 5. okt. 2009, at 14.43, Vassil Dichev wrote:
>> >
>> >> Yes, it's not because of the user properties, but because of a message
>> >> I've sent on purpose to check if a bug I'm trying to analyze exists on
>> >> the stax deployment, too. The message is appropriately called "Boom"
>> >> :)
>> >>
>> >> For some reason the textile formatter doesn't play well with
>> >> LiftSession processing. The message in question is eventually
>> >> formatted in the following fashion:
>> >>
>> >> <blockquote><p>Boom</p>\u000a</blockquote>\u000a
>> >>
>> >> The \u000a character is the newline character and should be treated as
>> >> whitespace, so this shouldn't matter, but who knows...
>> >>
>> >> Note: if you resend this message, this will also crash the regular
>> >> timeline...
>> >>
>> >> Sorry about this unpleasant surprise, now trying to debug the issue.
>> >>
>> >> 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
> Surf the harmonics
>

Mime
View raw message