trunk : web : Browser should go on readonly mode while creating the DB
Bug #885664 reported by
Serpent Consulting Services
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Fix Released
|
Wishlist
|
OpenERP R&D Web Team |
Bug Description
I am using chrome browser(not sure it has to do anything with this bug though).
While I create a new database,
1. The flashy screen of 'Loading(1)' appears which makes the feel like something has gone into an infinite loop or got stuck.
2. As an effect, one would like to retry the creation of new DB, and hence moving onto create database form. It gives you a notification that you cannot create a db with same name. IMO, it should be a readonly form.
Attached is the video to visualize the situation.
Thanks,
Serpent Consulting Services.
Related branches
lp:~serpent-consulting-services/openerp-web/trunk-885664-SerpentCS
- Serpent Consulting Services (community): Needs Resubmitting
- Xavier (Open ERP) (community): Needs Fixing
-
Diff: 26 lines (+9/-4)1 file modifiedaddons/web/controllers/main.py (+9/-4)
description: | updated |
Changed in openerp-web: | |
importance: | Low → Wishlist |
To post a comment you must log in.
The root of the problem resides here at loading widget.
This patch fixed the problem, but its not the solution 100% cases. This should surely give you a hint for solution.
=== modified file 'addons/ web/static/ src/js/ chrome. js' web/static/ src/js/ chrome. js 2011-10-28 08:52:12 +0000 web/static/ src/js/ chrome. js 2011-11-03 13:39:47 +0000
clearTime out(this. long_running_ timer);
this. $element. fadeOut( );
this. widget_ parent. $element. removeClass( 'loading' );
--- addons/
+++ addons/
@@ -218,10 +218,10 @@
} else {
// Don't unblock if blocked by somebody else
- if (self.blocked_ui) {
- this.blocked_ui = false;
- $.unblockUI();
- }
+// if (self.blocked_ui) {
+// this.blocked_ui = false;
+// $.unblockUI();
+// }
}
Thanks,
Serpent Consulting Services.