Project

General

Profile

Actions

Bug #60398

closed

Mapping existing model to new one

Added by Pascal Dürsteler over 10 years ago. Updated about 8 years ago.

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

0%

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

Description

After discussing with a few people on slack (Hello again, Maddy ^^) and investing a few hours every now and then, I decided to file an issue, as this is either a bug, a missing feature, or undocumented.

Situation
You have a full-blown extension (tx_news in this case) that provides almost everything you need. I want to extend that existing model and be able to use new fields through the existing tx_news controller/view without having to copy-paste everything into a custom controller (as this would result in unneeded maintenance work).

What I did * Set up tx_news * integrated the list plugin on a page * wrote some news and categorized them * set up extension attached to this issue * included static typoscript from it

Expectation
News categories' classes are mapping properly to my new model.

Result
News categories are mapped, however, all attributes except uid, pid and _localizedUid are NULL instead of having the original value. When the static typoscript from this ext is removed, catgeories are mapped again to tx_news, with proper attribute values.

Is this even possible? I feel it should, otherwise, the mapping configuration properties wouldn't make much sense IMHO.


Files

foo.zip (6.95 KB) foo.zip Pascal Dürsteler, 2014-07-19 17:35
Actions

Also available in: Atom PDF