2

我正在使用 TYPO3 11.5.6 和介绍包建立一个新网站。

当我为页面添加翻译时,一切都按预期工作。然后我使用翻译向导在连接模式下翻译内容。

然后问题就出现了。我编辑了一个内容元素,当我尝试保存更改时,我收到以下 SQL 错误:

SQL error: 'SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type bytea' (pages:86)

该错误仅发生在翻译的元素上,而不是原件上。

可能是什么问题呢?

我在 OpenBSD 上,使用 Nginx 和 Postgres。

更新:

它必须与表l18n_diffsource中的字段有关,tt_content因为它是唯一的bytea字段。

    Table "public.tt_content"
               Column                |          Type           | Collation | Nullable |                 Default                 | Storage  | Stats target | Description 
-------------------------------------+-------------------------+-----------+----------+-----------------------------------------+----------+--------------+-------------
 uid                                 | integer                 |           | not null | nextval('tt_content_uid_seq'::regclass) | plain    |              | 
 rowDescription                      | text                    |           |          |                                         | extended |              | 
 pid                                 | integer                 |           | not null | 0                                       | plain    |              | 
 ......
 l18n_parent                         | integer                 |           | not null | 0                                       | plain    |              | 
 l10n_source                         | integer                 |           | not null | 0                                       | plain    |              | 
 l10n_state                          | text                    |           |          |                                         | extended |              | 
 t3_origuid                          | integer                 |           | not null | 0                                       | plain    |              | 
 l18n_diffsource                     | bytea                   |           |          |                                         | extended |              | 
 t3ver_oid                           | integer                 |           | not null | 0                                       | plain    |              | 
 t3ver_wsid                          | integer                 |           | not null | 0                                       | plain    |              | 
 t3ver_state                         | smallint                |           | not null | 0                                       | plain    |              | 
 t3ver_stage                         | integer                 |           | not null | 0                                       | plain    |              | 

更新 2:

我将此报告为 TYPO3 中的错误。请参阅错误报告

4

1 回答 1

1

这是一个可确认的真实错误。Gerald Zehetner 将其报告为一个问题。现在已修复此问题:

此外,这已随 v11.5.7 一起发布:

https://get.typo3.org/release-notes/11.5.7#changes

于 2022-02-22T10:18:55.543 回答