This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Overrode run() in test cases to disable preservation of global state, per http://matthewturland.com/2010/08/19/process-isolation-in-phpunit/ - Fixed issue in StandardConfiguration (incorrectly referenced classname) - TODO: because global state is destroyed, autoloader disappears
- Moved test autoload setup to tests/_autoload.php - Modified Session\ContainerTest and Session\SessionManagerTest to include _autoload.php if no autoloader is detected (happens when global state is destroyed).
…' into merges/akrabat-crypt
Merged and pushed to master -- thanks! |
EvanDotPro
pushed a commit
that referenced
this pull request
Jul 2, 2012
s/ServiceNotFoundException/ServiceNotCreatedException
weierophinney
pushed a commit
that referenced
this pull request
Jul 24, 2012
Proposed a new float random number generator
ghost
mentioned this pull request
Oct 12, 2012
Maks3w
pushed a commit
that referenced
this pull request
Jan 23, 2013
ghost
mentioned this pull request
May 3, 2013
ezimuel
added a commit
to zendframework/zend-session
that referenced
this pull request
May 15, 2015
…feature/crypt Ezimuel/feature/crypt
gianarb
pushed a commit
to zendframework/zend-log
that referenced
this pull request
May 15, 2015
Cast argument zendframework/zendframework#2 to string when calling DOMElement constructor
ezimuel
added a commit
to zendframework/zend-log
that referenced
this pull request
May 15, 2015
…feature/crypt Ezimuel/feature/crypt
gianarb
pushed a commit
to zendframework/zend-cache
that referenced
this pull request
May 15, 2015
ezimuel
added a commit
to zendframework/zend-cache
that referenced
this pull request
May 15, 2015
…feature/crypt Ezimuel/feature/crypt
gianarb
pushed a commit
to zendframework/zend-cache
that referenced
this pull request
May 15, 2015
gianarb
pushed a commit
to zendframework/zend-cache
that referenced
this pull request
May 15, 2015
…aster Back port from zf2/master
ezimuel
added a commit
to zendframework/zend-soap
that referenced
this pull request
May 15, 2015
…feature/crypt Ezimuel/feature/crypt
gianarb
pushed a commit
to zendframework/zend-soap
that referenced
this pull request
May 15, 2015
ezimuel
added a commit
to zendframework/zend-mime
that referenced
this pull request
May 15, 2015
…feature/crypt Ezimuel/feature/crypt
gianarb
pushed a commit
to zendframework/zend-mime
that referenced
this pull request
May 15, 2015
…aster Back port from zf2/master
ezimuel
added a commit
to zendframework/zend-view
that referenced
this pull request
May 15, 2015
…feature/crypt Ezimuel/feature/crypt
gianarb
pushed a commit
to zendframework/zend-view
that referenced
this pull request
May 15, 2015
ezimuel
added a commit
to zendframework/zend-navigation
that referenced
this pull request
May 15, 2015
…feature/crypt Ezimuel/feature/crypt
ezimuel
added a commit
to zendframework/zend-feed
that referenced
this pull request
May 15, 2015
…feature/crypt Ezimuel/feature/crypt
gianarb
pushed a commit
to zendframework/zend-feed
that referenced
this pull request
May 15, 2015
ezimuel
added a commit
to zendframework/zend-permissions-acl
that referenced
this pull request
May 15, 2015
…feature/crypt Ezimuel/feature/crypt
ezimuel
added a commit
to zendframework/zend-permissions-rbac
that referenced
this pull request
May 15, 2015
…feature/crypt Ezimuel/feature/crypt
weierophinney
pushed a commit
to zendframework/zend-permissions-rbac
that referenced
this pull request
May 15, 2015
…aster Back port from zf2/master
isisis
added a commit
to isisis/zf2
that referenced
this pull request
May 28, 2015
I think it's a common use case for the default navigation, to add pages and sub pages across many modules. There's currently an issue when adding sub pages to another page that you expect to be in configuration already. The main page could be changed to another name, could be removed or the module could be disabled inside an application architecture that uses ZF2 modules like plug-ins. What happens in this case? ------------------------------------------------------------- Fatal error: Uncaught exception 'Zend\Navigation\Exception\InvalidArgumentException' with message 'Invalid argument: Unable to determine class to instantiate' in /var/www/html/ebonikerp/vendor/zendframework/zendframework/library/Zend/Navigation/Page/AbstractPage.php:254 Stack trace: #0 /var/www/html/ebonikerp/vendor/zendframework/zendframework/library/Zend/Navigation/AbstractContainer.php(114): Zend\Navigation\Page\AbstractPage::factory(Array) zendframework#1 /var/www/html/ebonikerp/vendor/zendframework/zendframework/library/Zend/Navigation/AbstractContainer.php(165): Zend\Navigation\AbstractContainer->addPage(Array) zendframework#2 /var/www/html/ebonikerp/vendor/zendframework/zendframework/library/Zend/Navigation/Navigation.php(35): Zend\Navigation\AbstractContainer->addPages(Array) zendframework#3 /var/www/html/ebonikerp/vendor/zendframework/zendframework/library/Zend/Navigation/Service/AbstractNavigationFactory.php(38): Zend\Navigation\Navigation->__construct(Array) zendframework#4 [internal function]: Zend\Navigation\Service\AbstractNavigationFactory->createService(Obj in /var/www/html/ebonikerp/vendor/zendframework/zendframework/library/Zend/ServiceManager/ServiceManager.php on line 946 ------------------------------------------------------------- This fix solves the problem, by ignoring a main page, when it's missing uri or mvc values, and could be used as quick fix. For future I would like to see a validation for the pages configs, before they're being injected to navigation. Another approach could be to add a separate "navigation-extension" configuration beside the "navigation" configuration. The "navigation-extension" configuration could be used to extend the navigation safely. The NavigationFactory would then use only the configuration parts that already have a valid existing navigation entry inside "navigation" key.
ezimuel
added a commit
to zendframework/zend-i18n-resources
that referenced
this pull request
May 28, 2015
…feature/crypt Ezimuel/feature/crypt
This pull request was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
My commit cleans up some left over conflicts from a merge of a branch called farazdagi. I managed to accidentally add some foreign commits which are already in the Zend Repo to my pull request.