Tasks: gantt view error

Bug #888425 reported by Ujjvala Collins
40
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Web Team

Bug Description

On gantt view Tasks, I tried to drag the task line to extend the end date of the task I got the following traceback:

Server Traceback (most recent call last):
  File "/home/uco/workspace/branches/rdtools/web/trunk/addons/web/common/openerplib/main.py", line 257, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/uco/workspace/branches/rdtools/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/uco/workspace/branches/rdtools/server/trunk/openerp/service/web_services.py", line 580, in dispatch
    res = fn(db, uid, *params)
  File "/home/uco/workspace/branches/rdtools/server/trunk/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/uco/workspace/branches/rdtools/server/trunk/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/uco/workspace/branches/rdtools/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/uco/workspace/branches/rdtools/server/trunk/openerp/osv/orm.py", line 3781, in write
    'where id IN %s', upd1 + [sub_ids])
  File "/home/uco/workspace/branches/rdtools/server/trunk/openerp/sql_db.py", line 153, in wrapper
    return f(self, *args, **kwargs)
  File "/home/uco/workspace/branches/rdtools/server/trunk/openerp/sql_db.py", line 215, in execute
    res = self._obj.execute(query, params)
TransactionRollbackError: could not serialize access due to concurrent update

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

Hello Ujjvala,

I have checked your issue with updated code for trunk but I didn't face any trace back.
Would you please check attached video and informed us where you faced the problem.

Thanks and waiting for your reply.

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :
Changed in openerp-web:
status: New → Incomplete
Revision history for this message
Ujjvala Collins (uco-openerp) wrote :

Hello Vishal,

Thanks for the video. But I think you haven't checked it properly with all the test cases.

This bug occurs when you clear all the search filters and then try to change the task line. Please check again.

Thanks,
Ujjvala

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

Hello,

Thanks for your reply.

I have face the same problem at my end but some specific scenario. I have describe whole scenario in attached video.

Thanks.

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :
affects: openerp-web → openobject-server
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
status: Incomplete → Confirmed
importance: Undecided → Low
Revision history for this message
Antony Lesuisse (OpenERP) (al-openerp) wrote :

Could this be requalified because the gantt view has been rewritten, Thanks.

Changed in openobject-server:
assignee: OpenERP's Framework R&D (openerp-dev-framework) → nobody
Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello Antony Lesuisse,

Thanks for your reply.

Yes, I agree with you the concurrent update problem has solved that's good but I have faced the different error. Problem occur when I create & start task and assign task work. So I am assigning to web . Would you please see attached video.

Thanks.

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :
affects: openobject-server → openerp-web
Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Low → Medium
Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote :

Hello Vishal.

If this bug was solved I close this bug report. For your new bug please create a new bug report.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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