Skip to content

Extbase persistance mapping should include properties #217

Description

@theorak

Problem:
Added fields like organizer, organizer_simple, location, etc. are not loaded in frontend.

Solution:
Configuration File Configuration/Extbase/Persistence/Classes.php should include property mapping.

This can be done per use case, in a site-package/extension implementing this one (The configuraiton can be easily extended), but could also be set in eventnews as correct default.

        //Name der Tabelle auf welches das Model gemapped wird
        'tableName' => 'tx_news_domain_model_news',
        'properties' => [
            'organizer' => [
                'fieldName' => 'organizer',
            ],
            'organizerSimple' => [
                'fieldName' => 'organizer_simple',
            ],
            'location' => [
                'fieldName' => 'location',
            ],
            'locationSimple' => [
                'fieldName' => 'location_simple',
            ]
        ]
    ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions