c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #36135
[Bug 884755] [NEW] [6.0] Infinite screen refresh loop when adding to one2many field
Public bug reported:
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.
** Affects: openobject-client-web
Importance: Undecided
Status: New
** Branch linked: lp:~credativ/openobject-client-web/fix-refresh-loop
--
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:
New
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
Follow ups
References