Benoit Socias
0db3290b7f
[FIX] website: not fail when sharing page with an SEO title
...
Since [1] when the social share widget was introduced, a hashtag is
generated from the name of the website that is found inside the page
title.
This fails when the page title is replaced through the SEO feature.
This commit prevents the failure but not extracting the website name if
it is missing from the title.
Note that the `registry.socialShare` fixed here is only used by the
forum post page in the whole codebase. It is different from the social
snippet. The social snippet is doing the same code (kind of duplicate),
but it does not care about removing the | right part. It means that if
you drag & drop the "Share" snippet in a forum post page (like in the
footer) and click on it, it will work since it does not try to split on
the title's pipe.
In master, we will evaluate if we should remove this
`registry.socialShare` and use the `Share` snippet instead.
Steps to reproduce:
- Install website_forum.
- Go to a forum post.
- Set SEO title to a value without `|` (pipe).
- Share to X.
=> An error popup was shown.
[1]: https://github.com/odoo/odoo/commit/1c91e27c8c8cb7492d26f03e27c4991b53a1675d
opw-3799914
closes odoo/odoo#158478
X-original-commit: f89f4a8f1ad0ee3fb62ba246ea17988955dbdc4b
Signed-off-by: Romain Derie (rde) <rde@odoo.com >
Signed-off-by: Benoit Socias (bso) <bso@odoo.com >
2024-03-21 11:11:42 +00:00
..
2024-03-20 19:56:42 +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-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-20 17:11:44 +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-02-06 18:49:02 +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-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-02-12 20:24:09 +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-17 00:11:43 +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-10 00:13:03 +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-17 00:11:43 +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-17 00:11:43 +01:00
2024-03-10 00:13:03 +01:00
2024-03-18 08:45:38 +00:00
2024-03-20 18:29:24 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-20 19:56:42 +00:00
2024-03-21 11:11:40 +00: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-02-06 18:49:02 +00: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-20 19:56:42 +00:00
2024-03-18 10:23:55 +00: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-02-06 18:49:02 +00:00
2024-03-18 10:23:55 +00:00
2024-03-18 10:23:55 +00: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-17 00:11:43 +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-20 13:52:28 +00:00
2024-03-20 18:29:25 +00:00
2024-03-17 00:11:43 +01:00
2024-03-20 19:56:42 +00:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-20 18:29:22 +00: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-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-20 19:56:42 +00:00
2024-03-10 00:13:03 +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-20 21:44:01 +00:00
2024-03-10 00:13:03 +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-18 08:45:37 +00:00
2024-03-18 08:45:37 +00:00
2024-03-17 00:11:43 +01:00
2024-02-06 18:49:02 +00:00
2024-03-21 11:11:40 +00:00
2024-03-20 19:56:42 +00:00
2024-03-10 00:13:03 +01:00
2024-03-05 20:53:25 +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-07 23:41:54 +00:00
2024-03-21 11:11:41 +00:00
2024-02-29 20:40:36 +00:00
2024-03-18 14:55:52 +00:00
2024-03-08 12:49:02 +00:00
2024-02-23 13:10:03 +00:00
2024-02-23 13:10:03 +00:00
2024-02-28 08:15:23 +00:00
2024-03-13 09:14:14 +00:00
2024-02-23 13:10:03 +00:00
2024-02-29 20:40:36 +00:00
2024-02-05 12:20:56 +00:00
2024-02-19 12:27:48 +00:00
2024-03-16 00:04:48 +00:00
2024-02-03 02:06:43 +00:00
2024-02-17 00:25:58 +00:00
2024-03-15 05:02:59 +00:00
2024-03-14 08:06:24 +00:00
2024-02-13 20:52:18 +00:00
2024-02-13 20:52:18 +00:00
2024-02-07 18:34:22 +00:00
2024-03-07 15:12:17 +00:00
2024-03-08 11:17:48 +00:00
2024-02-23 13:09:53 +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-02-16 02:01:35 +00:00
2024-03-04 08:11:57 +00:00
2024-03-14 15:43:44 +00:00
2024-03-14 08:06:24 +00:00
2024-03-05 18:06:27 +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-02-02 10:50:51 +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-22 09:06:12 +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-01-26 09:13:03 +00:00
2024-02-16 08:58:21 +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-11 10:17:50 +00:00
2024-02-29 20:40:36 +00:00
2024-02-29 20:40:36 +00:00
2024-02-29 20:40:36 +00:00
2024-01-26 09:13:08 +00:00
2024-01-26 21:07:50 +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-10 00:13:03 +01:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-20 18:29:22 +00:00
2024-03-10 00:13:03 +01:00
2024-03-11 16:37:34 +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-20 19:56:42 +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-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00: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-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-15 06:12:46 +00:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-20 19:56:42 +00: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-02-06 18:49:02 +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-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-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-17 00:11:43 +01: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-17 00:11:43 +01:00
2024-03-17 00:11:43 +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-17 00:11:43 +01:00
2024-03-10 00:13:03 +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-19 09:24:18 +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-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-02-06 18:49:02 +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-07 08:25:54 +00:00
2024-03-18 13:28:05 +00:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-17 00:11:43 +01:00
2024-02-06 18:49:02 +00:00
2024-02-06 18:49:02 +00:00
2024-03-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-02-06 18:49:02 +00:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +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-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-17 00:11:43 +01:00
2024-03-20 23:15:37 +00:00
2024-03-12 16:59:03 +00:00
2024-03-12 16:59:03 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-12 16:59:03 +00:00
2024-03-12 16:59:03 +00: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-20 19:56:42 +00:00
2024-03-17 00:11:43 +01:00
2024-03-10 00:13:03 +01:00
2024-03-20 18:29:28 +00:00
2024-02-06 18:49:02 +00: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-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-21 05:56:29 +00: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-17 00:11:43 +01:00
2024-03-10 00:13:03 +01:00
2024-03-20 19:56:42 +00:00
2024-03-10 00:13:03 +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-17 00:11:43 +01:00
2024-02-06 18:49:02 +00:00
2024-02-06 18:49:02 +00:00
2024-03-17 00:11:43 +01:00
2024-02-27 17:40:50 +00:00
2024-03-18 14:55:48 +00:00
2024-02-06 18:49:02 +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-20 09:13:27 +00:00
2024-03-17 00:11:43 +01:00
2024-03-17 20:01:41 +00: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-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-10 00:13:03 +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-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-17 00:11:43 +01:00
2024-03-20 19:56:41 +00:00
2024-03-17 00:11:43 +01:00
2024-03-18 08:45:39 +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-17 00:11:43 +01:00
2024-03-17 00:11:43 +01:00
2024-03-06 14:30:38 +00:00
2024-02-15 18:21:31 +00:00
2024-03-13 09:14:09 +00:00
2024-03-12 01:50:05 +00:00
2024-02-28 19:49:12 +00:00
2024-01-24 23:07:09 +00:00
2024-02-19 15:02:20 +00:00
2024-03-07 11:40:24 +00:00
2024-02-26 21:22:46 +00:00
2024-01-22 19:00:58 +00: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-20 13:52:31 +00:00
2024-03-20 18:29:23 +00: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-21 11:11:42 +00: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-17 00:11:43 +01:00
2024-03-10 00:13:03 +01:00
2024-03-21 11:11:37 +00:00
2024-02-06 18:49:02 +00:00
2024-03-21 11:11:37 +00: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-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-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-11 16:37:37 +00:00
2024-03-17 00:11:43 +01:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00: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-17 00:11:43 +01:00
2024-03-10 00:13:03 +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-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-17 00:11:43 +01:00
2024-03-10 00:13:03 +01:00
2024-03-17 00:11:43 +01:00
2024-03-20 13:52:22 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00: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-15 17:29:54 +00:00
2024-03-10 00:13:03 +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-19 14:00:58 +00: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-17 00:11:43 +01:00