Project

General

Profile

Actions

Bug #105005

open

Webhooks Exception if invalid JSON in database field additional_headers

Added by Benjamin Franzke about 1 month ago. Updated 2 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
Category:
WebHooks - Incoming = Reactions + Outgoing
Start date:
2024-09-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Given the following data in sys_webhook an exception is thrown upon opening the webhooks backend module:

| uid | pid | updatedon  | createdon  | deleted | disabled | starttime | endtime | description | name       | url                                     | method | secret                                                                                            | webhook_type                               | identifier                           | verify_ssl | additional_headers |

|   4 |   0 | 1707312708 | 1707312708 |       0 |        0 |         0 |       0 |             |            |                                         | POST   |                                                                                                   | typo3/redirect-was-hit                     | 012207ce-c08b-4c67-9455-1e233efbe87d |          1 | Array              |

(1/2) Doctrine\DBAL\Types\Exception\ValueNotConvertible
Could not convert database value to "json" as an error was triggered by the unserialization: Syntax error

in /var/www/html/TYPO3.CMS/vendor/doctrine/dbal/src/Types/Exception/ValueNotConvertible.php line 42

Files

webhooks-exception-invalid-json.png (337 KB) webhooks-exception-invalid-json.png Benjamin Franzke, 2024-09-17 12:33

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #105208: Ensure correct type resolving in `AbstractSchemaManager`ClosedStefan Bürk2024-10-05

Actions
Actions

Also available in: Atom PDF