You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ilya Tepikin (Created) (JIRA)" <ji...@apache.org> on 2012/02/14 16:45:59 UTC

[jira] [Created] (WICKET-4410) The datepicker components stops popup in Chrome 17.

The datepicker components stops popup in Chrome 17. 
----------------------------------------------------

                 Key: WICKET-4410
                 URL: https://issues.apache.org/jira/browse/WICKET-4410
             Project: Wicket
          Issue Type: Bug
          Components: wicket-datetime
    Affects Versions: 1.4.19
         Environment: Windows XP 32bit, Google Chrome 17.
            Reporter: Ilya Tepikin


The datepicker components stops popup in Chrome 17. To reproduce bug follow steps bellow:
1) Fill in date in the input. 
2) Repeat some times cycle of show-hide.

Chome's Console will show error:
Uncaught TypeError: this is not a Date object.
YAHOO.widget.DateMath.clearTime calendar.js:1052
Calendar.isDateOOB calendar.js:4037
Calendar.select calendar.js:3702
Wicket.DateTime.showCalendar wicket-date.js:154
showCalendar wicket-date.js:180
_addListener.wrappedFn event.js:937

Surrounding code in clearTime js function (from calendar.js) with try/finally bug fixes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4410) The datepicker components stops popup in Chrome 17.

Posted by "Ilya Tepikin (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13224470#comment-13224470 ] 

Ilya Tepikin commented on WICKET-4410:
--------------------------------------

Can't reproduce bug in your project. It seems like it was fixed in next versions. Thank you.
                
> The datepicker components stops popup in Chrome 17. 
> ----------------------------------------------------
>
>                 Key: WICKET-4410
>                 URL: https://issues.apache.org/jira/browse/WICKET-4410
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.4.19
>         Environment: Windows XP 32bit, Google Chrome 17.
>            Reporter: Ilya Tepikin
>              Labels: chrome, datepicker
>         Attachments: QuickStartDatePicker.war, datepicker_chrome_bug.jpg, datepickerbug-1.5.tgz, datepickerbug.zip
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The datepicker components stops popup in Chrome 17. To reproduce bug follow steps bellow:
> 1) Fill in date in the input. 
> 2) Repeat some times cycle of show-hide.
> Chome's Console will show error:
> Uncaught TypeError: this is not a Date object.
> YAHOO.widget.DateMath.clearTime calendar.js:1052
> Calendar.isDateOOB calendar.js:4037
> Calendar.select calendar.js:3702
> Wicket.DateTime.showCalendar wicket-date.js:154
> showCalendar wicket-date.js:180
> _addListener.wrappedFn event.js:937
> Surrounding code in clearTime js function (from calendar.js) with try/finally bug fixes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4410) The datepicker components stops popup in Chrome 17.

Posted by "Martin Grigorov (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215503#comment-13215503 ] 

Martin Grigorov commented on WICKET-4410:
-----------------------------------------

YUI is updated to 2.9.0 in 1.5.x.
Can you try whether your problem is gone there ? Or create a quickstart app that I can modify. See http://wicket.apache.org/start/quickstart.html
                
> The datepicker components stops popup in Chrome 17. 
> ----------------------------------------------------
>
>                 Key: WICKET-4410
>                 URL: https://issues.apache.org/jira/browse/WICKET-4410
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.4.19
>         Environment: Windows XP 32bit, Google Chrome 17.
>            Reporter: Ilya Tepikin
>              Labels: chrome, datepicker
>         Attachments: QuickStartDatePicker.war, datepicker_chrome_bug.jpg
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The datepicker components stops popup in Chrome 17. To reproduce bug follow steps bellow:
> 1) Fill in date in the input. 
> 2) Repeat some times cycle of show-hide.
> Chome's Console will show error:
> Uncaught TypeError: this is not a Date object.
> YAHOO.widget.DateMath.clearTime calendar.js:1052
> Calendar.isDateOOB calendar.js:4037
> Calendar.select calendar.js:3702
> Wicket.DateTime.showCalendar wicket-date.js:154
> showCalendar wicket-date.js:180
> _addListener.wrappedFn event.js:937
> Surrounding code in clearTime js function (from calendar.js) with try/finally bug fixes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WICKET-4410) The datepicker components stops popup in Chrome 17.

Posted by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4410.
-------------------------------------

    Resolution: Incomplete

Closing until a quickstart app with sources is provided.
                
> The datepicker components stops popup in Chrome 17. 
> ----------------------------------------------------
>
>                 Key: WICKET-4410
>                 URL: https://issues.apache.org/jira/browse/WICKET-4410
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.4.19
>         Environment: Windows XP 32bit, Google Chrome 17.
>            Reporter: Ilya Tepikin
>              Labels: chrome, datepicker
>         Attachments: QuickStartDatePicker.war, datepicker_chrome_bug.jpg
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The datepicker components stops popup in Chrome 17. To reproduce bug follow steps bellow:
> 1) Fill in date in the input. 
> 2) Repeat some times cycle of show-hide.
> Chome's Console will show error:
> Uncaught TypeError: this is not a Date object.
> YAHOO.widget.DateMath.clearTime calendar.js:1052
> Calendar.isDateOOB calendar.js:4037
> Calendar.select calendar.js:3702
> Wicket.DateTime.showCalendar wicket-date.js:154
> showCalendar wicket-date.js:180
> _addListener.wrappedFn event.js:937
> Surrounding code in clearTime js function (from calendar.js) with try/finally bug fixes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4410) The datepicker components stops popup in Chrome 17.

Posted by "Ilya Tepikin (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Tepikin updated WICKET-4410:
---------------------------------

    Attachment: datepickerbug.zip

Sorry for such a delay.

I've tested this project in chrome for many times and I can say that this bug is very unstable. One time it comes up after one cycle of calendar show-hide. Another time it may come up after 15 cycles. But each time Chrome's console points at "Uncaught TypeError: this is not a Date object." calendar.js:1052.
                
> The datepicker components stops popup in Chrome 17. 
> ----------------------------------------------------
>
>                 Key: WICKET-4410
>                 URL: https://issues.apache.org/jira/browse/WICKET-4410
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.4.19
>         Environment: Windows XP 32bit, Google Chrome 17.
>            Reporter: Ilya Tepikin
>              Labels: chrome, datepicker
>         Attachments: QuickStartDatePicker.war, datepicker_chrome_bug.jpg, datepickerbug.zip
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The datepicker components stops popup in Chrome 17. To reproduce bug follow steps bellow:
> 1) Fill in date in the input. 
> 2) Repeat some times cycle of show-hide.
> Chome's Console will show error:
> Uncaught TypeError: this is not a Date object.
> YAHOO.widget.DateMath.clearTime calendar.js:1052
> Calendar.isDateOOB calendar.js:4037
> Calendar.select calendar.js:3702
> Wicket.DateTime.showCalendar wicket-date.js:154
> showCalendar wicket-date.js:180
> _addListener.wrappedFn event.js:937
> Surrounding code in clearTime js function (from calendar.js) with try/finally bug fixes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (WICKET-4410) The datepicker components stops popup in Chrome 17.

Posted by "Martin Grigorov (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov reopened WICKET-4410:
-------------------------------------


Reopen since there is a quickstart app now.
                
> The datepicker components stops popup in Chrome 17. 
> ----------------------------------------------------
>
>                 Key: WICKET-4410
>                 URL: https://issues.apache.org/jira/browse/WICKET-4410
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.4.19
>         Environment: Windows XP 32bit, Google Chrome 17.
>            Reporter: Ilya Tepikin
>              Labels: chrome, datepicker
>         Attachments: QuickStartDatePicker.war, datepicker_chrome_bug.jpg, datepickerbug.zip
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The datepicker components stops popup in Chrome 17. To reproduce bug follow steps bellow:
> 1) Fill in date in the input. 
> 2) Repeat some times cycle of show-hide.
> Chome's Console will show error:
> Uncaught TypeError: this is not a Date object.
> YAHOO.widget.DateMath.clearTime calendar.js:1052
> Calendar.isDateOOB calendar.js:4037
> Calendar.select calendar.js:3702
> Wicket.DateTime.showCalendar wicket-date.js:154
> showCalendar wicket-date.js:180
> _addListener.wrappedFn event.js:937
> Surrounding code in clearTime js function (from calendar.js) with try/finally bug fixes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WICKET-4410) The datepicker components stops popup in Chrome 17.

Posted by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4410.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.5
                   6.0.0
         Assignee: Martin Grigorov

I guess the upgrade of YUI fixes it.
                
> The datepicker components stops popup in Chrome 17. 
> ----------------------------------------------------
>
>                 Key: WICKET-4410
>                 URL: https://issues.apache.org/jira/browse/WICKET-4410
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.4.19
>         Environment: Windows XP 32bit, Google Chrome 17.
>            Reporter: Ilya Tepikin
>            Assignee: Martin Grigorov
>              Labels: chrome, datepicker
>             Fix For: 6.0.0, 1.5.5
>
>         Attachments: QuickStartDatePicker.war, datepicker_chrome_bug.jpg, datepickerbug-1.5.tgz, datepickerbug.zip
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The datepicker components stops popup in Chrome 17. To reproduce bug follow steps bellow:
> 1) Fill in date in the input. 
> 2) Repeat some times cycle of show-hide.
> Chome's Console will show error:
> Uncaught TypeError: this is not a Date object.
> YAHOO.widget.DateMath.clearTime calendar.js:1052
> Calendar.isDateOOB calendar.js:4037
> Calendar.select calendar.js:3702
> Wicket.DateTime.showCalendar wicket-date.js:154
> showCalendar wicket-date.js:180
> _addListener.wrappedFn event.js:937
> Surrounding code in clearTime js function (from calendar.js) with try/finally bug fixes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4410) The datepicker components stops popup in Chrome 17.

Posted by "Martin Grigorov (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov updated WICKET-4410:
------------------------------------

    Attachment: datepickerbug-1.5.tgz

I cannot run your quickstart for some reason...
It fails for me with:

java.lang.ClassNotFoundException: org.joda.time.ReadWritableInstant
     at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
     at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
     at com.mycompany.HomePage.<init>(HomePage.java:38)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
     at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
....

I guess it is some classpath clash with another project in my IDE.

I'm attaching your app working with Wicket 1.5-SNAPSHOT.
It works for me without problem.
But I have Chrome 19.x here and Wicket 1.5 uses YUI 2.9.0 while 1.4.x - 2.8.2.
                
> The datepicker components stops popup in Chrome 17. 
> ----------------------------------------------------
>
>                 Key: WICKET-4410
>                 URL: https://issues.apache.org/jira/browse/WICKET-4410
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.4.19
>         Environment: Windows XP 32bit, Google Chrome 17.
>            Reporter: Ilya Tepikin
>              Labels: chrome, datepicker
>         Attachments: QuickStartDatePicker.war, datepicker_chrome_bug.jpg, datepickerbug-1.5.tgz, datepickerbug.zip
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The datepicker components stops popup in Chrome 17. To reproduce bug follow steps bellow:
> 1) Fill in date in the input. 
> 2) Repeat some times cycle of show-hide.
> Chome's Console will show error:
> Uncaught TypeError: this is not a Date object.
> YAHOO.widget.DateMath.clearTime calendar.js:1052
> Calendar.isDateOOB calendar.js:4037
> Calendar.select calendar.js:3702
> Wicket.DateTime.showCalendar wicket-date.js:154
> showCalendar wicket-date.js:180
> _addListener.wrappedFn event.js:937
> Surrounding code in clearTime js function (from calendar.js) with try/finally bug fixes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4410) The datepicker components stops popup in Chrome 17.

Posted by "Martin Grigorov (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213588#comment-13213588 ] 

Martin Grigorov commented on WICKET-4410:
-----------------------------------------

Currently wicket-datetime uses yui 2.8.1RC2. Looking at 2.9.0 (last from the 2.x series) changelog I don't see a fix which sounds like this problem.
YUI team said that this is the last release of 2.x and it is recommended to use 3.x (3.4.1 at the moment).

                
> The datepicker components stops popup in Chrome 17. 
> ----------------------------------------------------
>
>                 Key: WICKET-4410
>                 URL: https://issues.apache.org/jira/browse/WICKET-4410
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.4.19
>         Environment: Windows XP 32bit, Google Chrome 17.
>            Reporter: Ilya Tepikin
>              Labels: chrome, datepicker
>         Attachments: QuickStartDatePicker.war, datepicker_chrome_bug.jpg
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The datepicker components stops popup in Chrome 17. To reproduce bug follow steps bellow:
> 1) Fill in date in the input. 
> 2) Repeat some times cycle of show-hide.
> Chome's Console will show error:
> Uncaught TypeError: this is not a Date object.
> YAHOO.widget.DateMath.clearTime calendar.js:1052
> Calendar.isDateOOB calendar.js:4037
> Calendar.select calendar.js:3702
> Wicket.DateTime.showCalendar wicket-date.js:154
> showCalendar wicket-date.js:180
> _addListener.wrappedFn event.js:937
> Surrounding code in clearTime js function (from calendar.js) with try/finally bug fixes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4410) The datepicker components stops popup in Chrome 17.

Posted by "Ilya Tepikin (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Tepikin updated WICKET-4410:
---------------------------------

    Attachment: datepicker_chrome_bug.jpg
    
> The datepicker components stops popup in Chrome 17. 
> ----------------------------------------------------
>
>                 Key: WICKET-4410
>                 URL: https://issues.apache.org/jira/browse/WICKET-4410
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.4.19
>         Environment: Windows XP 32bit, Google Chrome 17.
>            Reporter: Ilya Tepikin
>              Labels: chrome, datepicker
>         Attachments: QuickStartDatePicker.war, datepicker_chrome_bug.jpg
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The datepicker components stops popup in Chrome 17. To reproduce bug follow steps bellow:
> 1) Fill in date in the input. 
> 2) Repeat some times cycle of show-hide.
> Chome's Console will show error:
> Uncaught TypeError: this is not a Date object.
> YAHOO.widget.DateMath.clearTime calendar.js:1052
> Calendar.isDateOOB calendar.js:4037
> Calendar.select calendar.js:3702
> Wicket.DateTime.showCalendar wicket-date.js:154
> showCalendar wicket-date.js:180
> _addListener.wrappedFn event.js:937
> Surrounding code in clearTime js function (from calendar.js) with try/finally bug fixes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4410) The datepicker components stops popup in Chrome 17.

Posted by "Ilya Tepikin (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Tepikin updated WICKET-4410:
---------------------------------

    Attachment: QuickStartDatePicker.war

Looking for similar bug I noticed that the same bug appears in WICKET-3360 and took web app from it.
                
> The datepicker components stops popup in Chrome 17. 
> ----------------------------------------------------
>
>                 Key: WICKET-4410
>                 URL: https://issues.apache.org/jira/browse/WICKET-4410
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.4.19
>         Environment: Windows XP 32bit, Google Chrome 17.
>            Reporter: Ilya Tepikin
>              Labels: chrome, datepicker
>         Attachments: QuickStartDatePicker.war
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The datepicker components stops popup in Chrome 17. To reproduce bug follow steps bellow:
> 1) Fill in date in the input. 
> 2) Repeat some times cycle of show-hide.
> Chome's Console will show error:
> Uncaught TypeError: this is not a Date object.
> YAHOO.widget.DateMath.clearTime calendar.js:1052
> Calendar.isDateOOB calendar.js:4037
> Calendar.select calendar.js:3702
> Wicket.DateTime.showCalendar wicket-date.js:154
> showCalendar wicket-date.js:180
> _addListener.wrappedFn event.js:937
> Surrounding code in clearTime js function (from calendar.js) with try/finally bug fixes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira