Bug #37278

In reflection service isPropertyGettable() does not acknowledge getter methods which require one or more arguments

Added by Jan Kraus over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Category:
Reflection
Target version:
-
Start date:
2012-05-18
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Has patch:
No
Complexity:
easy

Description

In reflection service isPropertyGettable() does not acknowledge getter methods which require one or more arguments

in model I have such method: public function getKeyValueConfig($key) { ...

and because of this reflection I have an error:
Warning: Missing argument 1 for XXX\Domain\Model\Channel_Original::getKeyValueConfig(), called in /TYPO3.FLOW3/Classes/Reflection/ObjectAccess.php on line 109 and defined in /Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/XXX_Domain_Model_Channel_Original.php line 59

#1

Updated by Robert Lemke over 9 years ago

  • Status changed from New to Accepted
  • Priority changed from Must have to Should have
  • Target version set to 1.1 beta 2
  • PHP Version set to 5.3
  • Complexity set to easy
#2

Updated by Karsten Dambekalns over 9 years ago

  • Assignee set to Robert Lemke
#3

Updated by Karsten Dambekalns over 9 years ago

  • Target version changed from 1.1 beta 2 to 1.1 RC1
#4

Updated by Karsten Dambekalns over 9 years ago

  • Status changed from Accepted to Needs Feedback
  • Assignee changed from Robert Lemke to Karsten Dambekalns
  • Target version changed from 1.1 RC1 to 1.1

isPropertyGettable() does not care about method arguments at all - can you give more details on what you are doing and what goes wrong? Thanks!

#5

Updated by Karsten Dambekalns over 9 years ago

  • Status changed from Needs Feedback to Closed
  • Target version deleted (1.1)

No feedback, closing this. Feel free to reopen with more information. Thanks!

Also available in: Atom PDF