Comments (15)
(Originally posted by: DASPRiD on 03/29/12)
This looks kinda old. Evan, didn't we switch to \GlobIterator for that reason?
By the way, Yonni, did you test with the current beta3 or an old version?
from zendframework.
(Originally posted by: yonman on 03/29/12)
Forked SkeletonApplication and Zf2 and sent pull requests:
zendframework/ZendSkeletonApplication#49
#980
from zendframework.
(Originally posted by: yonman on 03/29/12)
Tested with beta3, found a TODO in ConfigListener so I took it up with Matthew. According to him globiterators were inapplicable, so I applied a simpler solution.
from zendframework.
(Originally posted by: EvanDotPro on 03/29/12)
I had discussed this with Matthew and others on IRC. We discovered that \GlobIterator didn't solve the issue like we had anticipated it would (it doesn't support GLOB_BRACE at all, actually).
IIRC, Matthew was thinking GLOB_BRACE wouldn't work on Windows, but it turns out it does. It seems to only be non-GNU systems like Solaris that don't support it and I think the consensus was that people on those systems can easily change the glob pattern (and we could document such). Though, I'm unsure if passing GLOB_BRACE as a flag throws a warning or anything on non-GNU systems. Anyway, I suppose I don't mind changing this to two globs though simply to maintain a higher level of compatibility if there's no objections.
from zendframework.
(Originally posted by: DASPRiD on 03/29/12)
I could come up with a fallback solution so GLOB_BRACE can still be used, even on non-GNU systems.
from zendframework.
(Originally posted by: yonman on 04/01/12)
One more problematic point:
AIX glob calls seem to ignore cwd - I can only get correct results when we use an absolute path.
When testing, I verified with getcwd that we are in the document root, etc...
from zendframework.
(Originally posted by: EvanDotPro on 04/13/12)
I'm not really sure there's much we can do to fix the AIX glob cwd issue...
It would seem to me that there are three options in this case:
- Simply adjust the glob paths to be absolute after cloning the skeleton.
- Use Zend\Module\Listener\ConfigListener::addConfigStaticPaths() to add each config file explicitly instead of addConfigGlobPaths() to add glob patterns.
- Re-implement glob() completely in PHP, which I'd prefer we not do.
from zendframework.
(Originally posted by: EvanDotPro on 05/31/12)
This issue is resolved via [PR 983|https://github.com//pull/983] and [PR 1419|https://github.com//pull/1419].
from zendframework.
(Originally posted by: yonman on 06/24/12)
The fix in PR 983 seem to work when I tested it in our IBMi machine but I had to create absolute paths for it to work. It seems that AIX glob works only with static paths - otherwise you get empty results and an empty configuration.
Should this issue be reopened for this? or should I create a new issue?
from zendframework.
(Originally posted by: EvanDotPro on 06/28/12)
I'm re-opening and assigning to Ben Scholzen. Perhaps there is something he can add to our Zend\Stdlib\Glob class to account for this.
from zendframework.
This issue was ported from the ZF2 Jira Issue Tracker at
http://framework.zend.com/issues/browse/ZF2-243
Known GitHub users mentioned in the original message or comment:
@YonmaN, @DASPRiD, @EvanDotPro
from zendframework.
@EvanDotPro can we close this?
from zendframework.
No closing yet, we are still about to fix the relative-path issue on AIX.
from zendframework.
@DASPRiD no issue anymore?
from zendframework.
IIRC, we fixed this for 2.3.
from zendframework.
Related Issues (20)
- Class Methods Hydrator - data not properly populated if object gets bound to form HOT 1
- Db/Sql/Predicate/Expression changes in #6849 introduced a BC break HOT 1
- SMTP SSL Error HOT 1
- Failed loading /home/zaman/Documents/ZendStudio/plugins/com.zend.php.executables.linux_7.1.3.201703171134/resources/ext/./ext/ZendDebugger.so: /home/zaman/Documents/ZendStudio/plugins/com.zend.php.executables.linux_7.1.3.201703171134/resources/ext/./ext/ZendDebugger.so: cannot open shared object file: No such file or directory HOT 1
- PHP-function each() has been deprecated (ZF2)
- A plugin by the name "getServiceLocator" was not found in the plugin manager Zend\Mvc\Controller\PluginManager HOT 5
- This regex may stuck in matching HOT 2
- ZF3 and Apigility 1.5 HOT 1
- Error Handling for a Specific Module Only
- Phone number validation criteria HOT 2
- Session timeout even when user is active HOT 6
- I have changed my files according to issue 5997 but still getting error No translator provided HOT 1
- Function mcrypt_*() is deprecated in Zend/Crypt/Symmetric/Mcrypt.php (ZF2) PHP 7.2 HOT 1
- Why zendframework so tricky? HOT 1
- Use of a broken or else risky cryptographic algorithm md5() in Subscriber.php at line 788 HOT 1
- Question: Advanced Routing HOT 4
- PHP 7.3 compatibility issues for zend-stdlib : Warning: "continue" targeting switch is equivalent to "break". HOT 2
- Strange ZF3 class not found error HOT 3
- CONTRIBUTING.md is not available HOT 1
- Hello , i have an error and need help HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zendframework.