Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DateRange picker is broken

    v8.3p_2012-11-22/PowerEdition Deployment (built 2012-11-22)

    I have a daterange picker in listgrid filter.

    1. Choose fromDate from calendar.
    2. Choose toDate from calendar. Value is not chosen (screen)

    Also module log shows the following:

    Code:
    ERROR: 17:38:59.374:MUP1:WARN:StaticTextItem:isc_StaticTextItem_1[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    com.smartgwt.client.core.JsObject$SGWT_WARN: 17:38:59.374:MUP1:WARN:StaticTextItem:isc_StaticTextItem_1[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    	at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
    	at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    	at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    	at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
    	at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
    	at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
    	at java.lang.Thread.run(Thread.java:722)
    ERROR: 17:38:59.384:MUP1:WARN:StaticTextItem:isc_StaticTextItem_2[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    com.smartgwt.client.core.JsObject$SGWT_WARN: 17:38:59.384:MUP1:WARN:StaticTextItem:isc_StaticTextItem_2[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    	at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
    	at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    	at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    	at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
    	at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
    	at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
    	at java.lang.Thread.run(Thread.java:722)
    ERROR: 17:38:59.505:TMR7:WARN:StaticTextItem:isc_StaticTextItem_1[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    com.smartgwt.client.core.JsObject$SGWT_WARN: 17:38:59.505:TMR7:WARN:StaticTextItem:isc_StaticTextItem_1[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    	at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
    	at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    	at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    	at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
    	at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
    	at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
    	at java.lang.Thread.run(Thread.java:722)
    ERROR: 17:38:59.517:TMR7:WARN:StaticTextItem:isc_StaticTextItem_2[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    com.smartgwt.client.core.JsObject$SGWT_WARN: 17:38:59.517:TMR7:WARN:StaticTextItem:isc_StaticTextItem_2[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    	at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
    	at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    	at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    	at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
    	at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
    	at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
    	at java.lang.Thread.run(Thread.java:722)
    A couple of weeks ago everything was fine.
    Attached Files
    Last edited by vostapenko; 23 Nov 2012, 05:47.

    #2
    Not reproducible by just using a sample with the default filterEditor and a field of type "date". If you think this is a framework bug, let us know how this can be reproduced.

    Comment


      #3
      I've reproduced it, the issue is somehow connected with i18n.

      Steps:
      1. Take a fresh copy of build-in-ds sample.
      2. Add to BuildInDS.html

      Code:
      <meta name="gwt:property" content="locale=ru_RU">
      3. Add to BuildInDS.gwt.xml
      Code:
      <inherits name="com.google.gwt.i18n.I18N"/>
      ..
      <extend-property name="locale" values="ru_RU"/>
      4. add to BuildInDS.java
      Code:
      boundList.setShowFilterEditor(true);
      5. Run example, choose "Office Supplies" datasource

      6. DateRange picker is broken in filter editor.

      Comment


        #4
        This issue should now be resolved in both the 3.1p and 4.0d branches

        Thanks
        Isomorphic Software

        Comment

        Working...
        X