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 #1

Updated by Stefan Bürk about 1 month ago

I would love to know how this value ended up in the database at all.
Reading should be fixed, but also the writing if we find out how that
happend.

Actions #2

Updated by Stefan Bürk about 1 month ago

Stefan Bürk wrote in #note-1:

I would love to know how this value ended up in the database at all.
Reading should be fixed, but also the writing if we find out how that
happend.

I guess that happend because of Bug #105004

Actions #3

Updated by Stefan Bürk about 1 month ago

  • Assignee set to Stefan Bürk
Actions #4

Updated by Stefan Bürk 15 days ago

  • Related to Task #105208: Ensure correct type resolving in `AbstractSchemaManager` added
Actions #5

Updated by Gerrit Code Review 15 days ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86437

Actions #6

Updated by Gerrit Code Review 15 days ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86437

Actions #7

Updated by Gerrit Code Review 14 days ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86437

Actions #8

Updated by Gerrit Code Review 10 days ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86437

Actions #9

Updated by Gerrit Code Review 10 days ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86437

Actions #10

Updated by Gerrit Code Review 2 days ago

Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86437

Actions

Also available in: Atom PDF