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
}
When enabling a module the details inside the
modules.jsoncache is being duplicated with a key ofname. Please see the snippet below:Before
After