Skip to content

Commit 671fae6

Browse files
authored
Update 1660215701.rst
1 parent 48bc4c5 commit 671fae6

File tree

1 file changed

+26
-16
lines changed

1 file changed

+26
-16
lines changed

Documentation/Exceptions/1660215701.rst

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,35 @@ TYPO3 Exception 1660215701
77
.. include:: /If-you-encounter-this-exception.rst.txt
88

99

10-
..
11-
TYPO3 [version] - [date of report]
12-
==================================
10+
TYPO3 13.4.18 - 26.09.2025
11+
==========================
12+
13+
.. warning::
14+
The type of property MyVendor\MyExtension\Domain\Model\MyModel::pageoverride could not be identified because the property
15+
is defined as union or intersection type, therefore the desired value (0) cannot be mapped onto it.
16+
Make sure to use only a single type.
17+
18+
The Issue
19+
---------
20+
21+
22+
The model had a setter, which accidently used bool instead of null for a not-set value
23+
24+
.. code-block:: php
1325
14-
Installation Overview
15-
---------------------
26+
#[Lazy]
27+
protected ?Page $pageoverride = null;
1628
17-
Provide as much information about your installation of TYPO3
18-
including its version number and any other information that
19-
you think will be relevant to other users who encounter the same issue.
29+
public function setPageoverride(Page|bool $pageoverride): void
30+
{
31+
$this->pageoverride = $pageoverride;
32+
}
2033
21-
The Issue
22-
---------
34+
Solution
35+
--------
2336

24-
Detail each of the steps or changes that took place leading up to the
25-
issue occurring.
2637

27-
Solution
28-
--------
38+
.. code-block:: diff
2939
30-
Did you resolve the issue? List the steps or changes made that resolved the
31-
issue.
40+
- public function setPageoverride(Page|bool $pageoverride): void
41+
+ public function setPageoverride(Page|bool $pageoverride): void

0 commit comments

Comments
 (0)