[6.1] File upload broken on Firefox 22

Bug #1197783 reported by Yves Bolognini @ camptocamp
46
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
Undecided
OpenERP Publisher's Warranty Team
OpenERP Community Backports (Web)
Fix Released
Medium
Stefan Rijnhart (Opener)
6.1
Fix Released
Medium
Stefan Rijnhart (Opener)

Bug Description

Can't upload a file on OpenERP 6.1.

Steps to reproduce:
- Use Firefox 22
- http://6-1-15172.runbot.openerp.com/web/webclient/home
- Settings/Translations/Import-Export/Import Translation
- Select any file
- Open
- Uploading... and nothing happens

Using Firefox 22 on Ubuntu. Same bug reported on Firefox 22 / Mac.

Using latest runbot 6.1 version:
(Build 15172)
    server (4358)
    addons (7233)
    web (2516)

Tags: maintenance

Related branches

Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Confirmed. In our analysis, the callback function is stored in the DOM on an iframe element. However, this iframe element is also the target of the snippet of javascript that retrieves the callback function and calls it. In Firefox 22, when the snippet is loaded into the iframe, the iframe element no longer contains the callback. Additionally, the error message that is supposed to indicate this to the user does not function properly.

We have an ugly, 2 line proof of concept fix that stores the callback function in another place. Hopefully we will have an acceptable solution later today.

Changed in ocb-web:
assignee: nobody → Stefan Rijnhart (Therp) (stefan-therp)
importance: Undecided → Medium
status: New → Confirmed
Changed in openerp-web:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Stéphane Bidoul (Acsone) (sbi) wrote :

The fix works for us. Thanks Stefan!

Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) wrote : Re: [Bug 1197783] Re: [6.1] File upload broken on Firefox 22

Hello,

just a word to say it worked for us too. Two weeks in production in a big
company now, no regression spotted.

On Tue, Jul 16, 2013 at 6:54 AM, Stéphane Bidoul (Acsone) <
<email address hidden>> wrote:

> The fix works for us. Thanks Stefan!
>
> --
> You received this bug notification because you are a member of OpenERP
> Drivers, which is subscribed to OpenERP Web.
> https://bugs.launchpad.net/bugs/1197783
>
> Title:
> [6.1] File upload broken on Firefox 22
>
> Status in OpenERP Community Backports (Web):
> Confirmed
> Status in OpenERP Community Backports (Web) 6.1 series:
> Confirmed
> Status in OpenERP Web:
> New
>
> Bug description:
> Can't upload a file on OpenERP 6.1.
>
> Steps to reproduce:
> - Use Firefox 22
> - http://6-1-15172.runbot.openerp.com/web/webclient/home
> - Settings/Translations/Import-Export/Import Translation
> - Select any file
> - Open
> - Uploading... and nothing happens
>
> Using Firefox 22 on Ubuntu. Same bug reported on Firefox 22 / Mac.
>
> Using latest runbot 6.1 version:
> (Build 15172)
> server (4358)
> addons (7233)
> web (2516)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ocb-web/+bug/1197783/+subscriptions
>

Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hello guys,

Thanks for the report, the patch and the analysis. We have merged this into addons 6.1 at revision 2518 (<email address hidden>)

Regards

Changed in ocb-web:
status: Confirmed → Fix Released
Changed in openerp-web:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.