Bug #60722
closedExtbase/Fluid: Repository obect not usable when called via AJAX
0%
Description
Hi,
I created a backend module with Extbase/Fluid.
The problem I have is that retrieving/updating data via AJAX does not seem to work.
I guess the default methods for repositories (like "findByIdentifier" or "update") do no seem to be available
inside an Ajaxcontroller called via "ajax.php". Although I injected my repository with the "@inject"-annotation only
the methods which I created in my repository work. If my methods try to use a standard repository method all I get are
empty objects.
Unfortunately I can only guess what happens because I do not get any reasonable error messages. The DebuggerUtility
just tells me that my objects are created, but empty.
I hope I made myself clear without needing to paste tons of source code here.
Greets
Michael
Updated by Steffen Müller over 10 years ago
- Project changed from 1865 to TYPO3 Core
- Category set to Extbase
- Is Regression set to No
Moved to Core Project, Category: Extbase
Updated by Daniel Goerz over 8 years ago
- Status changed from New to Closed
I close this because using extbase repositories in AJAX calls works just fine. I cannot reproduce this issue in TYPO3 7 LTS or the current master.
If there however is a bug I did not catch, please do not hesitate to reopen this ticket or to file a new bug report with steps to reproduce the bug.