> On Wed, Apr 8, 2009 at 4:21 AM, Blower, Andy
> <andy.blo...@proquest.co.uk> wrote:
> > Another day, another couple of stumbling blocks for our applications
> migration to T5.1 - I can't believe this has taken a solid week of
> effort so far. I'm starting to wonder if we jumped the gun on moving to
> T5.1 so soon? I do seem to be having more problems than most people on
> the list, so maybe it's just me / our app or something.
> 
> I'm sorry and surprised you are having so much trouble.

I'm rather surprised too, the 5.0.x migrations (post .10) were always pretty 
easy. I think I must have gotten complacent about Tapestry alpha status because 
T5.0.11+ never really felt like alpha software to me. ;-)  (oh, and some of the 
new features in 5.1 are very appealing which is probably why migrating now was 
so tempting!)
 
> > Anyway, the first issue is with our checkbox components that do an
> Ajax call when checked or unchecked. They work fine if Gzip compression
> is switched off, but if it's enabled the Ajax.Request hits the
> onException block with this error message "TypeError: response is
> null". The server event handler is being called correctly and returning
> the correct JSONObject, but the responseText is empty and responseXML,
> responseJSON, and headerJSON are all null even though the status code
> is 200. My guess that the JSONObject is being compressed and it
> shouldn't be. Should I raise a JIRA for this, or am I mistaken here?
> 
> There's an existing JIRA issue, with a workaround.
> 
> https://issues.apache.org/jira/browse/TAP5-469
> 
> This only seems to affect some people ... I suspect it may only occur
> when an Apache server is between the browser and the servlet
> container. Can you confirm?

Currently I've only been testing in Jetty on my PC with no apache server in 
sight. The workaround is probably okay until you want to release 5.1 so there's 
some time for gathering more data. I know it sounds unlikely but could it be 
OSX/XP even with the same browsers? I can ask someone to test this on OSX 
tomorrow if that would help.

> >
> > I also have a page that works fine with T5.0.18 but breaks in
> T5.1.0.2 and I have no idea why - curiously, if I have gzip compression
> I don't see the stacktrace in the browser, but I get "Content Encoding
> Error", "The page you are trying to view cannot be shown because it
> uses an invalid or unsupported form of compression." From Firefox.
> >
> > Here is the stack trace, in case anyone can make any sense of it:
> >
> > An unexpected application exception has occurred.
> 
> Someone else has seen this as well.
> 
> 
>     void render(MarkupModel model, StringBuilder builder, Map<String,
> String> namespaceURIToPrefix)
>     {
>         builder.append(" ");
>         builder.append(element.toPrefixedName(namespaceURIToPrefix,
> namespace, name));
>         builder.append("=");
>         builder.append(model.getAttributeQuote());
>         model.encodeQuoted(value, builder);  // line 69
>         builder.append(model.getAttributeQuote());
>     }
> 
> I think this I can chase down; something is wrong, the value should
> never be null (it can be the empty string).

Did you see TAP5-635? It demonstrates a pretty bad consequence of this problem 
and it took time to investigate so I hope it proves useful.

I think 636 might be a duplicate.

Thanks,

Andy.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to