Bug #45219

Malformed DocBlock causes fatal error in ProxyClassBuilder

Added by Robert Lemke over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:2013-02-06
Priority:Should have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:Object
Target version:TYPO3 Flow Base Distribution - 2.0
PHP Version:5.4 Complexity:easy
Has patch:No Affected Flow version:Flow 2.0.0 beta 1

Description

If code contains a malformed DocBlock like the following, the Dependency Injection Proxy Class Builder
results in a fatal error:

/**

  @Flow\Inject
  @var \TYPO3\Flow\I18n\Service
 */
protected $i18nService;

Associated revisions

Revision abcdf940
Added by Robert Lemke over 2 years ago

[BUGFIX] Dependency Injection: safeguard for malformed DocBlocks

This adds a safeguard to the Dependency Injection Proxy Class Builder
which previously ended with a fatal error if client code contained a
malformed DocBlock

Resolves: #45219
Releases: master, 2.0
Change-Id: Ib19c0e837a41fc7ba56b5546014e5f383d4699d1

Revision 774d5a32
Added by Robert Lemke over 2 years ago

[BUGFIX] Dependency Injection: safeguard for malformed DocBlocks

This adds a safeguard to the Dependency Injection Proxy Class Builder
which previously ended with a fatal error if client code contained a
malformed DocBlock

Resolves: #45219
Releases: master, 2.0
Change-Id: Ib19c0e837a41fc7ba56b5546014e5f383d4699d1

History

#1 Updated by Gerrit Code Review over 2 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 https://review.typo3.org/18078

#2 Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/18079

#3 Updated by Robert Lemke over 2 years ago

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

Also available in: Atom PDF