Bug #47469

ActionController issues PHP warning if it contains methods with short names

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

Status:Resolved Start date:2013-04-23
Priority:Must have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:MVC
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 an ActionController implementation contains a method which has a name shorter than 7 characters, the new static methods for validation building will issue a warning because they use substr() with out of bounds indexes.


Related issues

duplicated by TYPO3.Flow - Bug #47249: Uncaught Exception in ActionController Closed 2013-04-15

Associated revisions

Revision 54d4b684
Added by Robert Lemke over 2 years ago

[BUGFIX] ActionController throws warning because of short method names

Fixes an issue in ActionController which caused a PHP warning if the
concrete ActionController implementation contained methods whose name
was shorter than 7 characters.

Change-Id: Iaf40d8236e08e5e6ef15bcc302db59ad513dd543
Resolves: #47469
Releases: master, 2.0

Revision 084d6075
Added by Robert Lemke over 2 years ago

[BUGFIX] ActionController throws warning because of short method names

Fixes an issue in ActionController which caused a PHP warning if the
concrete ActionController implementation contained methods whose name
was shorter than 7 characters.

Change-Id: Iaf40d8236e08e5e6ef15bcc302db59ad513dd543
Resolves: #47469
Releases: master, 2.0

History

#1 Updated by Robert Lemke over 2 years ago

  • Project changed from TYPO3 Flow Base Distribution to TYPO3.Flow

#2 Updated by Robert Lemke over 2 years ago

  • Category set to MVC
  • PHP Version set to 5.4
  • Has patch set to No
  • Complexity set to easy

#3 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/20099

#4 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/20100

#5 Updated by Anonymous over 2 years ago

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

Also available in: Atom PDF