Feature #47262

Easily extending the Image Model

Added by Christoph Lehmann over 2 years ago. Updated about 2 years ago.

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

related to Base Distribution - Work Package #45003: Media Browser Accepted
blocked by TYPO3.Flow - Feature #37372: Inheritance in ORM should be configured automatically Accepted 2012-05-21

Associated revisions

Revision 6a69ac3f
Added by Karsten Dambekalns about 2 years ago

[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

Also available in: Atom PDF