trunk : web : Browser should go on readonly mode while creating the DB

Bug #885664 reported by Serpent Consulting Services
8
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

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

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'
--- addons/web/static/src/js/chrome.js 2011-10-28 08:52:12 +0000
+++ addons/web/static/src/js/chrome.js 2011-11-03 13:39:47 +0000
@@ -218,10 +218,10 @@
         } else {
             clearTimeout(this.long_running_timer);
             // 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();
+// }
             this.$element.fadeOut();
             this.widget_parent.$element.removeClass('loading');
         }

Thanks,
Serpent Consulting Services.

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

This patch fixed the problem, but its not the solution for 100% cases. This should surely give you a hint for solution.

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello Serpent Consulting Services,

I have checked with updated code of trunk and I am able to create new db in web.

I have checked with following revision of trunk :
     server - 3778
    new web - 1404
    addons - 5489
Would you please check attached video.Would you please try again with updated code.

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :
affects: openobject-client-web → openerp-web
Changed in openerp-web:
status: New → Incomplete
Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello,

I agree with you, when we create a database, form should be readonly .

Thanks.

Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → Low
status: Incomplete → Confirmed
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

Thank you Vishal for confirming the bug. Consider the attached proposal which helps the end-user understand the problem.

Regards,
Serpent Consulting Services.

Changed in openerp-web:
importance: Low → Wishlist
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

Hello,

This has been fixed by revision http://bazaar.launchpad.net/~openerp/openerp-web/trunk/revision/1514 with revision-id <email address hidden>.

Thanks to Xavier and Antony.
Serpent Consulting Services.

Changed in openerp-web:
status: Confirmed → Fix Released
milestone: none → 6.1
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.