c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #36176
[Bug 884755] Re: [6.0] Infinite screen refresh loop when adding to one2many field
Hi Jignesh,
Thanks for looking into this bug. I have attached a video of how I can
trigger this bug consistently.
Thanks,
Craig
** Attachment added: "Screen capture video showing how I can trigger this bug"
https://bugs.launchpad.net/openobject-client-web/+bug/884755/+attachment/2582679/+files/infinite-refresh-bug.mpeg
--
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:
Incomplete
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