Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate extension key prefix in the global configuration #1604

Closed
aiddroid opened this issue Nov 15, 2017 · 1 comment
Closed

Duplicate extension key prefix in the global configuration #1604

aiddroid opened this issue Nov 15, 2017 · 1 comment
Assignees
Labels

Comments

@aiddroid
Copy link

aiddroid commented Nov 15, 2017

Here is the config.json

{
    "namespace": "utils",
    "name": "utils",
    "description": "An utils helper extension",
    "author": "aiddroid",
    "version": "0.0.1",
    "verbose": false,
    "requires": {
        "extensions": []
    },
    "globals": {
        "utils.enable_cache": {
            "type": "bool",
            "default": true
        }
    }
}

but got "utils.utils.enable_cache" in phpinfo().
phpinfo

and after I removed the "utils" prefix from globals section in config.json, The key became "enable_cache" in phpinfo().It's very strange.
image

@sergeyklay sergeyklay added the bug label Nov 15, 2017
@sergeyklay sergeyklay self-assigned this Nov 15, 2017
@sergeyklay sergeyklay assigned AlexNDRmac and unassigned sergeyklay May 7, 2018
@sergeyklay sergeyklay changed the title Dumplicate Extension Globals key prefix Duplicate extension key prefix in the global configuration Jun 5, 2018
@danhunsaker danhunsaker added this to Needs triage in Zephir Bugs Dec 12, 2018
@sergeyklay sergeyklay moved this from Needs triage to Low priority in Zephir Bugs Feb 1, 2019
@AlexNDRmac AlexNDRmac mentioned this issue Feb 17, 2019
@sergeyklay
Copy link
Member

Fixed in the development branch. Thank you for contributing

Zephir Bugs automation moved this from Low priority to Closed Feb 19, 2019
@niden niden removed this from Closed in Zephir Bugs Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants