Announcement

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

  • smartiro
    replied
    I missed that second request is coming from the grid that shares the same data source. This looks good then, we need to upgrade to the latest build.
    Thank you!

    Leave a comment:


  • Isomorphic
    replied
    Hi Smartiro
    The upload doesn't include the transaction in the URL in that sample (in our testing)

    If you bring up the browser developer tools and watch the network, you can verify this.

    There is a second request which does include the transaction in the URL which we're guessing is what you're seeing. That's actually coming from the tileGrid to display the images. If you switch to the ListGrid view you'll see it goes away.

    The TileGrid essentially makes use of the DataSource.getFileURL() functionality to specify the src attribute of the <img...> displayed in the tiles, which does indeed serialize the transaction into a URL.
    But this should not impact your usage for upload.

    Regards
    Isomorphic Software

    Leave a comment:


  • smartiro
    replied
    Thanks for getting back to me. Actually I am seeing the same behavior in https://www.smartclient.com/smartgwt...se/#upload_sql
    If you click on Save button you'll see that the whole _transaction gets appended to url.

    Thanks!

    Leave a comment:


  • Isomorphic
    replied
    Oh - one note: We notice you're using a build from 2018. Please try the latest nightly build from the 11.1 branch. It's possible that you're hitting an already resolved issue

    Regards

    Leave a comment:


  • Isomorphic
    replied
    Hi Smartiro
    If you're using a FileItem to upload data, the serialized transaction should be passed as form data automatically.
    Can you show us your DataSource definition and the DynamicForm definition on which you're calling 'saveData()'?

    Thanks
    Isomorphic Software

    Leave a comment:


  • DynamicForm.saveData sends content in the url params instead of form data

    Hello,

    We're on isc_v: v11.1p_2018-03-17
    We're using DynamicForm.saveData() to upload file based on https://www.smartclient.com/smartgwt...cs/Upload.html

    However, we noticed that _transaction in this case is being sent as a query param instead of form data.
    Is there a setting to avoid this?

    The issue we have is that value of _transaction gets stripped of blacklisted characters like <> enforced by some customers' IT rules.

    Thank you!






Working...
X