diff options
| author | len-odoo <len@odoo.com> | 2018-06-19 13:08:36 +0200 |
|---|---|---|
| committer | len-odoo <35492570+len-odoo@users.noreply.github.com> | 2018-06-19 14:12:35 +0200 |
| commit | dfc37d340797e3c2c9ee8f4fef15de8db74221a3 (patch) | |
| tree | 20d978b31f7d9a87641e5a94a6e77e6d8342e086 /addons/web_editor/static/src/js/editor/transcoder.js | |
| parent | 74c567329a2d10681ed03030ed568653c0b2a6c3 (diff) | |
[FIX] calendar: do not write end time before start time of an event
The end time of a calendar event is constrained to never be before the start
of te event.
However when updating events, one path would first update the start of the event
before updating the end of the event.
So in case where (s_1, e_1) is updated by (s_2, e_2),
with respectively s_i < e_i,
if s2 > e1 then the update would violate the constraint and thus crash
the calendar update.
opw 1854394
Diffstat (limited to 'addons/web_editor/static/src/js/editor/transcoder.js')
0 files changed, 0 insertions, 0 deletions
