Feature #35892

Give hint in exception message about aggregate roots in class hierarchies

Added by Karsten Dambekalns over 3 years ago. Updated over 3 years ago.

Status:Resolved Start date:2012-04-12
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Persistence
Target version:TYPO3 Flow Base Distribution - 1.1
PHP Version: Complexity:
Has patch:No

Description

The message "In a class hierarchy either all or no classes must be an aggregate root, "<foo>" is one but the parent class "<bar>" is not." should give a hint on how to solve this.

Associated revisions

Revision 5b10bd1c
Added by Karsten Dambekalns over 3 years ago

[TASK] Give hint with exception on aggregate roots in hierarchies

The message "In a class hierarchy either all or no classes must be
an aggregate root, "Foo" is one but the parent class "Bar" is not."
is not really helpful for developers.

This change adds a hint on how to solve the problem.

Change-Id: Ic5e71c7d0d7b01f5b3524a8400c4154ca565bae7
Resolves: #35892
Releases: 1.1

History

#1 Updated by Gerrit Code Review over 3 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/10321

#2 Updated by Karsten Dambekalns over 3 years ago

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

Also available in: Atom PDF