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 2498d04
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Documentation/ApiOverview/CommandControllers/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,15 @@ 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 an error like this:

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

See :ref:`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 2498d04

Please sign in to comment.