Bug #47469

ActionController issues PHP warning if it contains methods with short names

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

Status:
Resolved
Priority:
Must have
Assignee:
Category:
MVC
Start date:
2013-04-23
Due date:
% Done:

100%

PHP Version:
5.4
Has patch:
No
Complexity:
easy

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 (diff)
Added by Robert Lemke over 6 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 (diff)
Added by Robert Lemke over 6 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 6 years ago

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

#2 Updated by Robert Lemke over 6 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 6 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 6 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 6 years ago

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

Also available in: Atom PDF