Ticket #7239 (pending Bug)

Opened 3 years ago

Last modified 3 years ago

Upload file and adobe air

Reported by: Bouki Owned by:
Priority: Normal Milestone:
Component: General Version: 3.5.2
Keywords: AIR Cc:

Description

Hi On air, the file uploader doesn't appears I have to precise that a <input type = "file" /> is properly rendered in air

Change History

comment:1 Changed 3 years ago by fredck

  • Keywords AIR added; upload, adobe air removed
  • Status changed from new to pending

The problem here is not really the input field, but instead the backend... where to upload the file to? how to do that? which backend software to do that?

comment:2 Changed 3 years ago by Bouki

the backend isn't the issue here, because the input field for choosing a file doesn't even appears

I've made tests with a sample code that works on my browser, but doesn't in air

comment:3 Changed 3 years ago by Bouki

found the issue reason : ckeditor use iframe to make upload and then try to access iframe content by javascript however this is not permitted by adobe air security sandbox a solution could be to attach created iframe to the window sandbox

comment:4 Changed 3 years ago by Bouki

I've found that this can only be achieved in 2 ways :

  • the iframe has to load a real page wich contains a window.setContent function in order to set content of the window, and then the parent window can call this function.
  • give up with iframe and use flash scripts in order to upload
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy