Announcement

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

    #16
    This will be fixed in the upcoming 10/28/2014 build.

    Just to clarify though: your code did not provide a file extension. In this particular case, Internet Explorer does not automatically add one for your whereas other browsers do (based on the mime type).

    Still, this behavior was a deviation from previous versions of SmartClient/SGWT where a default extension was automatically added in this sort of case - and it is the sensible thing to do, so fixed now.

    Comment


      #17
      Thanks. I've just downloaded the 9.1 build
      SmartClient Version: v9.1p_2014-10-28/PowerEdition Development Only (built 2014-10-28)

      but the sample gives this error:

      Chrome on Mac OSX:
      Code:
      09:22:57.755:MUP5:WARN:Log:TypeError: undefined is not a function
      Stack from error.stack:
      	DataSource.exportData(<no args: exited>) @ ISC_DataBinding.js:747:257
      	ListGrid.exportData(<no args: exited>) @ ISC_Core.js:2762:22
      	[o]Button.click(<no args: exited>) @ [no file]:142:24
      	Button.handleActivate(<no args: exited>) @ ISC_Foundation.js:231:108
      	Button.handleClick(<no args: exited>) @ ISC_Foundation.js:232:13
      	EventHandler._bubbleEvent(<no args: exited>) @ ISC_Core.js:1387:139
      	EventHandler._handleClick(<no args: exited>) @ ISC_Core.js:1260:606
      	EventHandler.__handleMouseUp(<no args: exited>) @ ISC_Core.js:1249:26
      	EventHandler._handleMouseUp(<no args: exited>) @ ISC_Core.js:1243:41
      	EventHandler._dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>[object MouseEvent]) @ ISC_Core.js:1460:155
      IE 11 on WIN7/Parallels
      Code:
      09:22:03.533:pointerup9:WARN:Log:TypeError: L'oggetto non supporta la proprietà o il metodo 'addExportFilenameExtension'
      Stack from error.stack:
          DataSource.exportData ()
          Canvas.exportData ()
          click () @ eval code:146:12
          StatefulCanvas.handleActivate ()
          StatefulCanvas.handleClick ()
          EventHandler.bubbleEvent ()
          EventHandler.handleClick ()
          EventHandler._handleMouseUp ()
          EventHandler._handlePointerUp ()
          EventHandler.dispatch ()
      and I'm waiting for 10.0 build...

      Comment


        #18
        SmartClient Version: v10.0p_2014-10-28/EVAL Development Only (expires 2014.12.27_08.11.04) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

        works correctly, thank you very much.

        Actually I noticed that in my previous posts I didn't mention 9.1 builds. Actually 9.1 also wasn't adding the file extension.
        Now with the latest build the export is broken, I've tested the #FSexport sample also with Safari:
        Code:
        12:22:52.711:MUP1:WARN:Log:TypeError: undefined is not a function (evaluating 'this.addExportFilenameExtension(_2.exportFilename||"Results",_5)')
        Stack from error.stack:
        isc_DataSource_exportData@http://localhost:8080/isomorphic/system/modules/ISC_DataBinding.js?isc_version=v9.1p_2014-10-28.js:747:283
        isc_Canvas_exportData@http://localhost:8080/isomorphic/system/modules/ISC_Core.js?isc_version=v9.1p_2014-10-28.js:2762:32
        click
        isc_StatefulCanvas_handleActivate@http://localhost:8080/isomorphic/system/modules/ISC_Foundation.js?isc_version=v9.1p_2014-10-28.js:231:113
        isc_StatefulCanvas_handleClick@http://localhost:8080/isomorphic/system/modules/ISC_Foundation.js?isc_version=v9.1p_2014-10-28.js:232:27
        isc_c_EventHandler_bubbleEvent@http://localhost:8080/isomorphic/system/modules/ISC_Core.js?isc_version=v9.1p_2014-10-28.js:1387:139
        isc_c_EventHandler_handleClick@http://localhost:8080/isomorphic/system/modules/ISC_Core.js?isc_version=v9.1p_2014-10-28.js:1260:617
        isc_c_EventHandler__handleMouseUp@http://localhost:8080/isomorphic/system/modules/ISC_Core.js?isc_version=v9.1p_2014-10-28.js:1249:37
        isc_c_EventHandler_handleMouseUp@http://localhost:8080/isomorphic/system/modules/ISC_Core.js?isc_version=v9.1p_2014-10-28.js:1243:44
        isc_c_EventHandler_dispatch@http://localhost:8080/isomorphic/system/modules/ISC_Core.js?isc_version=v9.1p_2014-10-28.js:1460:159
        anonymous

        Comment


          #19
          It looks like the 9.1 build patch had a problem. The 9.1 issue will be resolved in tomorrow's (Oct 29th) build.

          Both 9.1 and 10.0 should then function identically with respect to this feature.

          Comment


            #20
            SmartClient Version: v9.1p_2014-10-29/PowerEdition Development Only (built 2014-10-29)

            now it's working, thank you very much

            Comment

            Working...
            X