Antoine Guenet
6615bc76b4
[FIX] web_editor: backspace only char with composition menu open
...
When typing in Japanese with Romaji input, a traceback occurred when
hitting backspace to remove the only character in the editable while the
Japanese character selection menu was open. This is because that case
triggers an `insertCompositionText` input event with an empty string,
and tries to delete the editable, which is unremovable. Since we called
`_applyRawCommand` without wrapping it in `_protect`, the unremovable
error caused a traceback instead of a rollback. When fixing that, an
other bug appeared, which was the insertion of a `#` character. This was
due to the fact that `insertText` was called with empty content, and
`insertText` defaulted to the character `#` for no particular reason
since the early proof of concept of the editor.
task-3134566
closes odoo/odoo#159005
X-original-commit: cb75212d4fe302b54097fbc90da6d6ef8b38205b
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com >
Signed-off-by: Antoine Guenet (age) <age@odoo.com >
2024-03-25 08:33:17 +00:00
..
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-25 08:33:10 +00:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-18 08:45:38 +00:00
2024-03-25 08:33:09 +00:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-18 08:45:37 +00:00
2024-03-18 08:45:37 +00:00
2024-03-24 00:12:07 +01:00
2024-03-21 11:11:40 +00:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-21 18:35:46 +00:00
2024-02-29 20:40:36 +00:00
2024-03-07 11:40:25 +00:00
2024-02-29 10:34:16 +00:00
2024-02-29 20:40:36 +00:00
2024-02-29 20:40:36 +00:00
2024-03-01 12:10:26 +00:00
2024-02-29 20:40:36 +00:00
2024-02-29 20:40:36 +00:00
2024-03-22 03:11:48 +00:00
2024-03-21 11:11:41 +00:00
2024-02-29 20:40:36 +00:00
2024-03-21 23:03:07 +00:00
2024-03-22 07:00:44 +00:00
2024-02-28 08:15:23 +00:00
2024-03-13 09:14:14 +00:00
2024-02-29 20:40:36 +00:00
2024-03-16 00:04:48 +00:00
2024-03-15 05:02:59 +00:00
2024-03-14 08:06:24 +00:00
2024-03-07 15:12:17 +00:00
2024-03-08 11:17:48 +00:00
2024-03-07 05:07:08 +00:00
2024-02-29 20:40:36 +00:00
2024-03-04 08:11:59 +00:00
2024-02-29 20:40:36 +00:00
2024-03-18 05:04:11 +00:00
2024-02-29 19:00:43 +00:00
2024-03-04 08:11:57 +00:00
2024-03-14 15:43:44 +00:00
2024-03-22 18:27:03 +00:00
2024-03-22 09:44:38 +00:00
2024-03-08 12:48:55 +00:00
2024-03-11 15:03:07 +00:00
2024-03-13 14:03:10 +00:00
2024-03-15 18:42:49 +00:00
2024-03-08 11:17:47 +00:00
2024-02-29 20:40:36 +00:00
2024-03-14 08:06:26 +00:00
2024-02-29 20:40:36 +00:00
2024-02-29 20:40:36 +00:00
2024-03-06 14:30:37 +00:00
2024-03-11 16:37:32 +00:00
2024-03-15 17:30:00 +00:00
2024-02-28 19:49:05 +00:00
2024-03-11 10:17:46 +00:00
2024-02-29 20:40:36 +00:00
2024-03-22 08:23:49 +00:00
2024-03-22 14:47:57 +00:00
2024-02-29 20:40:36 +00:00
2024-02-29 20:40:36 +00:00
2024-03-21 23:03:07 +00:00
2024-03-13 14:03:11 +00:00
2024-02-29 20:40:36 +00:00
2024-03-06 14:30:35 +00:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-11 16:37:34 +00:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-15 06:12:46 +00:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-17 00:11:43 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-20 17:11:47 +00:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-22 13:02:01 +00:00
2024-03-10 00:13:03 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-07 08:25:54 +00:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-12 16:59:03 +00:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-22 14:47:54 +00:00
2024-03-12 16:59:03 +00:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-22 14:48:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-25 08:33:08 +00:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-25 08:33:08 +00:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-02-27 17:40:50 +00:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-18 08:45:39 +00:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-22 11:20:04 +00:00
2024-03-13 09:14:09 +00:00
2024-03-12 01:50:05 +00:00
2024-03-21 19:54:30 +00:00
2024-03-07 11:40:24 +00:00
2024-02-26 21:22:46 +00:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-25 08:33:17 +00:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-25 08:33:14 +00:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-21 11:11:37 +00:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-21 19:54:27 +00:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-21 19:54:27 +00:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-18 07:04:10 +00:00
2024-03-17 00:11:43 +01:00
2024-03-10 00:13:03 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-10 00:13:03 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-17 00:11:43 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00
2024-03-24 00:12:07 +01:00