tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Harner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2003) DatePicker component fails on the client side under IE
Date Thu, 04 Oct 2012 01:45:07 GMT

    [ https://issues.apache.org/jira/browse/TAP5-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469071#comment-13469071

Bob Harner commented on TAP5-2003:

I thought I'd try to reproduce this myself today, and I was successful. Here's what I did,
using IE 9 on Windows 7 using IE 8 Compatibility mode:

1) With Tap 5.3.4, went to a page in my app with DatePicker (actually the <t:datefield>
component). Buttons worked ok.

2) Switched to Tap 5.3.5, rebuilt/restarted the web app, reloaded the page with F5 (*not*
clearing browser cache). Buttons *FAILED* to close calendar. The IE console at that time reported
"SCRIPT380: Invalid property value. prototype.js, line 3043 character 9"

3) Reloaded with Control-F5 (updating cache), same behavior.

4) Clicked around a bit on the app, did another Control-F5, tried the calendar, buttons worked

I went back and forth between Tapestry 5.3.3, 5.3.4 and 5.3.5 several times and was *almost*
always able to get the problem to appear the first time I tried 5.3.5 without clearing the
browser cache, and then clearing the cache *almost* always fixed the problem eventually.

My gut feeling is that the problem is caused by old JavaScript in the browser left over from
a prior run of 5.3.4. But there's enough flakiness in this component and in the bug's behavior
that it's hard to be certain.
> DatePicker component fails on the client side under IE
> ------------------------------------------------------
>                 Key: TAP5-2003
>                 URL: https://issues.apache.org/jira/browse/TAP5-2003
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3.5
>            Reporter: Kevin Lin
>              Labels: ie, javascript, not-reproducable
>         Attachments: DatePicker_error.gif
> After upgrading to 5.3.5, the date picker widget used by DateField component broke in
> After opening the widget, it won't dismiss when user clicking any dates/buttons on it.
> From the look of the JavaScript error, the error is thrown from prototype.js. And if
I downgrade Tapestry 5.3.4, the problem is gone.
> I notice a change in T5.3.5, which suggest that the new Prototype library doesn't work
with date picker anymore:
> [TAP5-1989] - Upgrade bundled Prototype to version 1.7.1

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message