[TYPO3-mvc] enable fields
Christian Tauscher
christian.tauscher at media-distillery.de
Sun Apr 19 18:58:54 CEST 2015
Hello.
In FE the user can create Records. These Records are hidden by default.
For listAction in my itemsRepository I have this method to show all:
public function findHidden() {
$query = $this->createQuery();
$query->getQuerySettings()->setIgnoreEnableFields(TRUE);
return $query->execute();
}
A Action confirmDeleteAction shows a Page "You really want to delete
Record###?"
If the record is visible (hidden=0) all works (can be deleted). But if
the record is hidden, the Action fails in a very early State.
Seems there is a Check for enableFields before the method is called
(DependencyInjecten ?)
How can I set "use the item even if its hidden" before I can call the
Repository?
Confused, but thankfull for help,
Christian.
More information about the TYPO3-project-typo3v4mvc
mailing list