Skip to content

Module cache is being duplicated when enabled. #217

@VizuaaLOG

Description

@VizuaaLOG

When enabling a module the details inside the modules.json cache is being duplicated with a key of name. Please see the snippet below:

Before

"Blog": {
    "name": "Blog",
    "slug": "blog",
    "namespace": "Blog",
    "version": "1.0.0",
    "author": "SECRET",
    "license": "PRIVATE",
    "description": "NO ONE NEEDS THIS :)",
    "order": 9001,
    "enabled": false
}

After

"Blog": {
    "name": "Blog",
    "slug": "blog",
    "namespace": "Blog",
    "version": "1.0.0",
    "author": "SECRET",
    "license": "PRIVATE",
    "description": "NO ONE NEEDS THIS :)",
    "order": 9001,
    "enabled": false
},
"name": {
    "name": "Blog",
    "slug": "blog",
    "namespace": "Blog",
    "version": "1.0.0",
    "author": "SECRET",
    "license": "PRIVATE",
    "description": "NO ONE NEEDS THIS :)",
    "order": 9001,
    "enabled": true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions