Bug #31522

ReflectionService prevents model from extending abstract base model without repository

Added by Marc Neuhaus almost 10 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Must have
Category:
Reflection
Start date:
2011-11-02
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Yes
Complexity:

Description

Hey!

i ran into some difficulties with using a base class for my models. The "ensureAggregateRootInheritanceChainConsistency" function of the ReflectionService prevents me from extending my Models from another class.

I attached a diff to allow the extending from abstract classes.

Greetings Marc


Files

ReflectionService.diff (575 Bytes) ReflectionService.diff Marc Neuhaus, 2011-11-02 20:10
#1

Updated by Marc Neuhaus almost 10 years ago

As jwa pointed out in irc i could try it with "@ORM\InheritanceType("JOINED")" but i don't want a table for my abstract class.

i tried to use "@ORM\InheritanceType("SINGLE_TABLE")" but it throws me the error "Base table or view not found: 1146 Table 'flow3.admin_core_model' doesn't exist"

Greetings Marc

#2

Updated by Karsten Dambekalns almost 10 years ago

  • Target version changed from 1.0.1 to 1.0.2
#3

Updated by Karsten Dambekalns almost 10 years ago

  • Status changed from New to Accepted
#4

Updated by Karsten Dambekalns over 9 years ago

  • Target version changed from 1.0.2 to 1.0.3
#5

Updated by Karsten Dambekalns over 9 years ago

  • Target version changed from 1.0.3 to 1.0.4
#6

Updated by Karsten Dambekalns over 9 years ago

  • Target version changed from 1.0.4 to 1.0.5
#7

Updated by Karsten Dambekalns over 9 years ago

  • Target version changed from 1.0.5 to 1.1 RC1
#8

Updated by Karsten Dambekalns about 9 years ago

  • Subject changed from ReflectionService prevents extending Models from other Models to ReflectionService prevents model from extending abstract base model without repository
#9

Updated by Gerrit Code Review about 9 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12361

#10

Updated by Karsten Dambekalns about 9 years ago

  • Target version changed from 1.1 RC1 to 1.1
#11

Updated by Gerrit Code Review about 9 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12361

#12

Updated by Gerrit Code Review about 9 years ago

Patch set 1 for branch FLOW3-1.1 has been pushed to the review server.
It is available at http://review.typo3.org/12589

#13

Updated by Gerrit Code Review about 9 years ago

Patch set 1 for branch FLOW3-1.0 has been pushed to the review server.
It is available at http://review.typo3.org/12590

#14

Updated by Karsten Dambekalns about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#15

Updated by Gerrit Code Review about 9 years ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch FLOW3-1.1 has been pushed to the review server.
It is available at http://review.typo3.org/12589

#16

Updated by Karsten Dambekalns about 9 years ago

  • Status changed from Under Review to Resolved
  • Target version changed from 1.1 to 1.1 RC2

Also available in: Atom PDF