Skip to content

Commit

Permalink
[FEATURE] Link cli command DataHandler error to solution
Browse files Browse the repository at this point in the history
  • Loading branch information
cweiske committed Jan 19, 2024
1 parent 07d0edf commit 0f5d90a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Documentation/ApiOverview/CommandControllers/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ Create a custom command
See the :ref:`Tutorial: Create a console command <console-command-tutorial>`
for details on how to create commands.

DataHandler usage
=================
Using the :ref:`DataHandler <tce-database-basics>` in a cli command will
fail with the following error:

[1.2.1]: Attempt to modify table "pages" without permission

See :ref:`Using the DataHandler in a Symfony command <dataHandler-cli-command>`
for a solution.

Read more
==========

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ array you want to pass to the class and call a few methods.


.. index:: pair: DataHandler; Symfony
.. _dataHandler-cli-command
Using the DataHandler in a Symfony command
==========================================
Expand Down

0 comments on commit 0f5d90a

Please sign in to comment.