ZF-Commons / ZfcUser

A generic user registration and authentication module for ZF2. Supports Zend\Db and Doctrine2. (Formerly EdpUser)
BSD 3-Clause "New" or "Revised" License
497 stars 343 forks source link

zfcuser_login_form not found #612

Closed pensiero closed 8 years ago

pensiero commented 8 years ago

After updating ZfcUser, I received this error:

Zend\ServiceManager\ServiceManager::get was unable to fetch or create an instance for zfcuser_login_form

Is the name changed?

pensiero commented 8 years ago

Uh, I believe that now is ->get('FormElementManager')->get('zfcuser_login_form'), is it correct?

nepda commented 8 years ago

See #610 , yes. In version 1.4.1 this issue should be fixed. If this is your own code, raising this error, you were right. Just use ->get('FormElementManager')->get('zfcuser_login_form').

pensiero commented 8 years ago

Thanks @nepda . 1.4.1 is backward compatible with ->get('FormElementManager')->get('zfcuser_login_form')?

Danielss89 commented 8 years ago

This is a BC break. I will release a version later today which should fix it.

pensiero commented 8 years ago

:+1: thanks

goldfinch commented 8 years ago

do not forget to fix also in service https://github.com/ZF-Commons/ZfcUser/blob/1.x/src/ZfcUser/Service/User.php#L207 otherwise, we get an error when we try to registration

N3XT0R commented 8 years ago
This is a BC break. I will release a version later today which should fix it.

Hello Guy, when it is a breaking change, so please release it conformally to the semantic versioning standard. There are many composer user, which configure a range for dependencies for there application and are oriented on semver. Also at example bjyauthorize or other projects.

Danielss89 commented 8 years ago

@N3XT0R We follow semantic versioning, but sometimes a BC break finds it way anyway. That's why i'll release a new version fixing this.

Danielss89 commented 8 years ago

Thanks. Should be fixed in newly released version 1.4.2. https://github.com/ZF-Commons/ZfcUser/releases/tag/1.4.2