c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #04845
[Bug 673516] Re: [V6 RC1]shortcut is added/removed multiple times
Bug still there on revno 3887: you need to double click quickly to trigger it.
The problem is similar to a multiple form submit problem. I suppose this type of problem might be spread in other places of the code and I guess someone should have a look at it: having the same shortcut multiple times is no big deal but having multiple, say, PO is.
Anyway, the critical section is obvious in function toggle_shortcut in addons/openerp/static/javascript/form.js
Note: revision 3888 removed the star so the bug is not present in latest
revision :-)
** Changed in: openobject-client-web
Importance: Low => Undecided
--
[V6 RC1]shortcut is added/removed multiple times
https://bugs.launchpad.net/bugs/673516
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Web Client: New
Bug description:
There is a race condition on the class of shortcut-add-remove element (function toggle_shortcut in form.js).
What steps will reproduce the problem?
Double (triple,...) click the shortcut star.
What is the expected result?
Active view is added or removed once from the shortcuts list.
What happens instead?
Active view is added or removed more than once from the shortcuts list.
Tested on: chrome & FF (but this is browser independent AFAIK).
References