{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"TYPO3 Extbase: Undelete (restore) functionality","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/964 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"964\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  \n<div class=\"document\">\n\n\n<p>Simply adding a <tt class=\"docutils literal\">setDeleted()<\/tt> method and <tt class=\"docutils literal\">$deleted<\/tt> property to the Extbase domain model is not sufficient.\nYou also have to add the <tt class=\"docutils literal\">deleted<\/tt> column to the table's TCA <tt class=\"docutils literal\">columns<\/tt> array.<\/p>\n<p>Otherwise Extbase's &quot;Persistence Backend&quot; used by the domain repository will decide that the property is not <tt class=\"docutils literal\">isPersistableProperty()<\/tt>, and skip over it.<\/p>\n<p>Links:<\/p>\n<ul class=\"simple\">\n<li><a class=\"reference external\" href=\"https:\/\/stackoverflow.com\/questions\/79841935\/extbase-domain-model-version-property-is-not-stored-in-database\">https:\/\/stackoverflow.com\/questions\/79841935\/extbase-domain-model-version-property-is-not-stored-in-database<\/a><\/li>\n<li><a class=\"reference external\" href=\"https:\/\/github.com\/TYPO3-Documentation\/TYPO3CMS-Reference-CoreApi\/pull\/6479\">https:\/\/github.com\/TYPO3-Documentation\/TYPO3CMS-Reference-CoreApi\/pull\/6479<\/a><\/li>\n<\/ul>\n<\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/964\/rev-raw\/dd60139350497c31d21d91697e442029f74d2c11\/README.rst\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/964#README.rst\">README.rst<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
