Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在扩展构建器中保存具有 1:n 关系的模型后,出现以下错误:
An object of class "Tx_Extbase_Persistence_ObjectStorage" could not be converted to a plain value.
需要在扩展构建器中设置什么来修复它?
在该模型的扩展构建器中,Object type需要将 的值设置为Entity而不是Value object。 或者在您生成的模型类中检查它是否扩展了Tx_Extbase_DomainObject_AbstractEntity.
Object type
Entity
Value object
Tx_Extbase_DomainObject_AbstractEntity