Skip to content

Problem on ExtensionArchitecture > Extbase > Persistence #6285

@cweiske

Description

@cweiske

Current behavior

The page title is "Persistence: Saving Extbase models to the database" but the page does not talk about how to actually save a domain model in the database.

Expected behavior/output

The page should show me the PHP code to save a domain object in the database. ($repository->update() maybe)

TYPO3 versions

14

Links

https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us//ExtensionArchitecture/Extbase/Reference/Domain/Model/Persistence/Index.html

Additional context

I am updating a powermail Answer domain object in a finisher and don't know how to persist it in the database. When Powermail redirects to a target page, the data are not persisted - even though $repository->update() was called. I came to the documentation page to see what I missed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions