Closed dymen1 closed 8 years ago
@dymen1 I have not looked into the 2.7.5 release. Do you know what is needed to support that version?
@Danielss89 All ServiceLocatorAwareInterfaceand ServiceManagerAwareInterface implementations need to be removed and replaced by factory injection, I am currently aliasing my own factories so zfcUser uses these to generate it's classes. Classes I currently create via my own factory:
Service Manager:
Controllers:
But there is currently another issue running within the ZF mvc package https://github.com/zendframework/zend-mvc/issues/87
This means that the \ZfcUser\Controller\UserController currently throws a deprecated error that will confuse most people.
If you not going to refactor soon maybe add zendframework/zend-mvc <2.7 to composer and release new version? this is really annoying
I'm going to do the refactor this weekend.
Also: PR welcome if you really need it ASAP!
Hi all! So, how best to fix it?
@ZeinEddin it isn't official and doesn't support BC.
Also getting this issue, hope that it's fixed soon
Have did a test for the master branch https://github.com/stijnhau/ZfcUser/commit/e331c828647d9b41e997f63b55e55e685787b4b9 Not a fan of the servicemanerg object everwhere i think it's best toi inject all the dependencies. Are you agreeing witrh me before i do all the refactoring?
@stijnhau I think this is better, but does it solve deprecated *AwareInterface problem?
It does. Altough still need to do this on a lot more classes. So it's a WIP.
Fix in #637
Can we reopen this as ZfcUser\Service\User still use this interface?
@hongkongpfui Fixed in 1.4.4
A value for the identity was not provided prior to authentication with ObjectRepository authentication adapter
in GIT
https://gist.github.com/miqueiasrafael/b8fb93873442e527dea9e1def351acf8
Deprecated: ServiceManagerAwareInterface is deprecated and will be removed in version 3.0, along with the ServiceManagerAwareInitializer. Please update your class ZfcUser\Authentication\Storage\Db to remove the implementation, and start injecting your dependencies via factory instead.
I am using zf-commons/zfc-user (1.4.2) and I get this with ZF version is 2.5.3.
Are there any plans to support the servicemanager 2.7.5 release?