Skip to content

Commit bd29239

Browse files
franzholzlinawolf
andauthored
use Classes.php instead of TypoScript for persistence configuration (#191)
* use Classes.php instead of TypoScript for persistence configuration Breaking: #87623 - Replace config.persistence.classes typoscript configuration * Adding see also boxes --------- Co-authored-by: Lina Wolf <[email protected]>
1 parent 5e4230e commit bd29239

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

Documentation/Exceptions/1472074485.rst

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,28 @@ Unknown column 'tx_myext_domain_model_myfield.' in 'order clause'
1212
There's no 'foreign_sorting' set in TCA. For me it happened with an
1313
Inline type.
1414

15-
Table 'my_db.tx_myext_domain_model_myfield' doesn't exist
16-
=========================================================
15+
Table 'my_db.tx_someotherextension_domain_model_myfield' doesn't exist
16+
======================================================================
1717

1818
When you have mapped a relation to an external model in your extension,
19-
but forgot to define the mapping in Typoscript
19+
and did not map it in
20+
:file:`EXT:extension/Configuration/Extbase/Persistence/Classes.php`.
21+
22+
.. seealso::
23+
* See `Use arbitrary database tables with an Extbase model <https://docs.typo3.org/permalink/t3coreapi:extbase-manual-mapping>`_
24+
for details.
25+
* `Extending an Extbase model <https://docs.typo3.org/permalink/t3coreapi:extending-extbase-model>`_
26+
27+
Table 'my_db.tx_mytablename' doesn't exist
28+
==========================================
29+
30+
A table name which does not correspond the Extbase table naming scheme,
31+
and did not define define the :php:`tableName` name in
32+
:file:`EXT:my_extension/Configuration/Extbase/Persistence/Classes.php`.
33+
34+
.. seealso::
35+
See `Use arbitrary database tables with an Extbase model <https://docs.typo3.org/permalink/t3coreapi:extbase-manual-mapping>`_
36+
for details.
2037

2138
Table 'my_db.tx_myext_persistence_objectstorage' doesn't exist
2239
==============================================================

0 commit comments

Comments
 (0)