Feature #47262
Easily extending the Image Model
Status: | Resolved | Start date: | 2013-04-15 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | - | |||
Target version: | - |
Description
Please make it possible to let this work:
class Picture extends \TYPO3\Media\Domain\Model\Image {
...
}
I was told there is something missing like
@ORM\InheritanceType("JOINED")
in \TYPO3\Media\Domain\Model\Image.php
Thank you!
Related issues
Associated revisions
[FEATURE] Add Asset classes and adjust Image
Adds a base class and an interface for assets. The Image is adjusted
to use this and classes for Document, Video and Audio are added.
A new AssetRepository allows retrieval of assets.
Change-Id: I53af34412768f2e51e952d212218299ac124487f
Resolves: #47428
Resolves: #47262
Related: #45003
History
#1 Updated by Karsten Dambekalns over 2 years ago
- Status changed from New to Accepted
- Assigned To set to Karsten Dambekalns
#2 Updated by Karsten Dambekalns over 2 years ago
This should work without a problem if #47428 is applied, see http://forge.typo3.org/issues/47428#note-1
#3 Updated by Christoph Lehmann over 2 years ago
I tried it and it looks good to me.
Now it works well without the inheritance type definition in the parent class. Thank you!
#4 Updated by Gerrit Code Review about 2 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20973
#5 Updated by Karsten Dambekalns about 2 years ago
- Status changed from Accepted to Under Review
#6 Updated by Gerrit Code Review about 2 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20973
#7 Updated by Karsten Dambekalns about 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6a69ac3f71599681462356bf3a3614247c851264.