← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 884755] Re: [6.0] Infinite screen refresh loop when adding to one2many field

 

This affects credativ Ltd (OpenERP UK partner) customers in production.

The fix has already been provided.

Please merge into 6.0.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/884755

Title:
  [6.0] Infinite screen refresh loop when adding to one2many field

Status in OpenERP Web Client:
  Won't Fix

Bug description:
  Steps to reproduce:
  1) Create a new record on any form view which contains a one2many field.
  2) Fill in all required fields correctly
  3) Fill in an other field so it will have a validation error (eg invalid date in date field)
  4) Create a new line in the one2many field

  Then what occurs is an interesting loop:
  - The one2many field will require that the record is saved before it can handle the request, this will invoke the save procedure.
  - The save procedure will fail validation and return HTML containing the validation error. 
  - The save request contained info to show that the one2many field was trying to add a new line so the HTML returned contains JS to start creating a new line.
  - The one2many field will require that the record is saved before it can handle the request... etc.

  Please see proposed merge request for the fix we are using.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/884755/+subscriptions


References