Hello, We have a problem with the file upload in IE9 with Orbeon 3.8 : The user choosed a file, submit the upload and then he has this error : “Exception in client-side code : Message : DOM exception: INVALID_CHARACTER_ERR(5)” When I displayed the console js in IE9, I find that the error is throw by the line 7303 of xforms.js. The code of my form : <xforms:upload ref="moDocumentFourni/moImage/msSourceImage"> <xforms:filename ref="xxforms:context('Piece')/moDocumentFourni/moImage/msReferenceExt"/> <xforms:mediatype ref="xxforms:context('Piece')/moDocumentFourni/moFormat/msTypeMime"/> <xforms:setvalue ev:event="xforms-select" ref="instance('selected')">ok</xforms:setvalue> </xforms:upload> The submit button : <xforms:submit submission="UploadPJ" appearance="minimal"> <xforms:label><xhtml:img src="/config/theme/images/bouton/actif/telecharger.gif" align="absmiddle" alt="Télécharger"/>Rattacher</xforms:label> <xforms:action ev:event="DOMActivate"> <xforms:setvalue ref="/form/action">UploadPJ</xforms:setvalue> <xforms:setvalue ev:event="xforms-select" ref="instance('selected')"></xforms:setvalue> </xforms:action> </xforms:submit> Can You help me ? Thank You. Julien BITTARD Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Hi Julien,
Would you be able to test this with Orbeon Forms 3.9? I am asking because the upload control was substantially improved in 3.9 (see: http://wiki.orbeon.com/forms/doc/developer-guide/xforms-controls/upload-control), and also, to be honest ;), because we most likely won't have the time to go fix an issue reported in the mailing list for an older version if it has been fixed in a newer version. Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hello,
I tested the upload on the portal demo (orbeon.com) and it works well. We cannot go to Orbeon 3.9 for now, is there a way to get more information about the error? (activate a debug mode, etc. ..) Thank You. Julien. -----Message d'origine----- De : Alessandro Vernet [mailto:[hidden email]] Envoyé : mercredi 18 mai 2011 09:06 À : [hidden email] Objet : [ops-users] Re: Error with file upload in IE9 Hi Julien, Would you be able to test this with Orbeon Forms 3.9? I am asking because the upload control was substantially improved in 3.9 (see: http://wiki.orbeon.com/forms/doc/developer-guide/xforms-controls/upload-control), and also, to be honest ;), because we most likely won't have the time to go fix an issue reported in the mailing list for an older version if it has been fixed in a newer version. Alex -- View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Error-with-file-upload-in-IE9-tp3528667p3531797.html Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Julien,
OK, good for 3.9; thank you for confirming this. Regarding debugging the issue in 3.8, since you're getting a JavaScript under IE9, in a way, you're lucky ;), as you can use the IE9 Developer Tools JavaScript debugger to break on the error, see what is happening there, and hopefully figure a way to fix it. Also, you might find some useful information on the page linked below when it comes to working on client-side code: http://wiki.orbeon.com/forms/doc/contributor-guide/development-environment/javascript-development Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
In reply to this post by ricetrac
Hi Julien,
I had the same thing with IE9 and upload in combination with Orbeon 3.8 but I found the solution, add the following meta tag to your pages: <xhtml:meta http-equiv="X-UA-Compatible" content="IE=8" /> it does the trick for me :) Make sure you have the right theme.xsl, see this http://orbeon-forms-ops-users.24843.n4.nabble.com/IE8-Standards-mode-not-working-with-orbeon-td1560851.html#a1562378 https://github.com/orbeon/orbeon-forms/commit/3656a675512d64d42bc355ec3838ff0348a5b984 hope it helps u as well regards Ramon |
Hi Ramon,
Thank you for your response. I try this the next week. Regards, Julien. -----Message d'origine----- De : Ramon de Beijer [mailto:[hidden email]] Envoyé : vendredi 8 juillet 2011 13:37 À : [hidden email] Objet : [ops-users] RE: Re: Error with file upload in IE9 Hi Julien, I had the same thing with IE9 and upload in combination with Orbeon 3.8 but I found the solution, add the following meta tag to your pages: <xhtml:meta http-equiv="X-UA-Compatible" content="IE=8" /> it does the trick for me :) Make sure you have the right theme.xsl, see this http://orbeon-forms-ops-users.24843.n4.nabble.com/IE8-Standards-mode-not-working-with-orbeon-td1560851.html#a1562378 https://github.com/orbeon/orbeon-forms/commit/3656a675512d64d42bc355ec3838ff0348a5b984 hope it helps u as well regards Ramon -- View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Error-with-file-upload-in-IE9-tp3528667p3653796.html Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hello,
This solution works fine for the upload in IE9. Thank You very much. Julien. -----Message d'origine----- De : Bittard, Julien [mailto:[hidden email]] Envoyé : vendredi 8 juillet 2011 17:56 À : [hidden email] Objet : [ops-users] RE: RE: Re: Error with file upload in IE9 Hi Ramon, Thank you for your response. I try this the next week. Regards, Julien. -----Message d'origine----- De : Ramon de Beijer [mailto:[hidden email]] Envoyé : vendredi 8 juillet 2011 13:37 À : [hidden email] Objet : [ops-users] RE: Re: Error with file upload in IE9 Hi Julien, I had the same thing with IE9 and upload in combination with Orbeon 3.8 but I found the solution, add the following meta tag to your pages: <xhtml:meta http-equiv="X-UA-Compatible" content="IE=8" /> it does the trick for me :) Make sure you have the right theme.xsl, see this http://orbeon-forms-ops-users.24843.n4.nabble.com/IE8-Standards-mode-not-working-with-orbeon-td1560851.html#a1562378 https://github.com/orbeon/orbeon-forms/commit/3656a675512d64d42bc355ec3838ff0348a5b984 hope it helps u as well regards Ramon -- View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Error-with-file-upload-in-IE9-tp3528667p3653796.html Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |