Project

General

Profile

Actions

Bug #60722

closed

Extbase/Fluid: Repository obect not usable when called via AJAX

Added by Michael Perlbach over 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2014-08-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

Actions #1

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

Actions #2

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.

Actions

Also available in: Atom PDF