goalio / GoalioForgotPassword

A Zend Framework 2 (ZF2) Module offering forgot password via e-mail functionality to ZfcUser
BSD 3-Clause "New" or "Revised" License
42 stars 49 forks source link

Inconsistent entity #4

Closed foaly-nr1 closed 11 years ago

foaly-nr1 commented 11 years ago

entities may only have methods for fields that exist in their database table. otherwise the method is called without parameter which leads to an error.

foaly-nr1 commented 11 years ago

Here's the magic: https://github.com/zendframework/zf2/blob/master/library/Zend/Stdlib/Hydrator/ClassMethods.php#L60

The generateRequestKey method is probably called, too, but doesn't throw an error, because it doesn't expect parameters.

pdobrigkeit commented 11 years ago

Hey goaly-nr1,

I renamed the function. Because I saw it is (not yet) called, but that was planned at some point.

Thanks