Marvin
01/31/2024, 1:28 AM"templates": {
"application": {
"shopping": {
"files": [
"Modules/TransactionHistory@sco-2018.1.0/Templates/transaction_history_list.tpl"
]
},
"myaccount": {
"files": [
"Modules/TransactionHistory@sco-2018.1.0/Templates/transaction_history_list.tpl"
]
},
"checkout": {
"files": [
"Modules/TransactionHistory@sco-2018.1.0/Templates/transaction_history_list.tpl"
]
}
}
},
Maxi
02/01/2024, 9:06 PMMarvin
02/01/2024, 9:07 PMMaxi
02/01/2024, 9:07 PMMarvin
02/01/2024, 9:08 PMjoaquin
02/29/2024, 8:22 PMgulp/extension-mechanism/update-manifest/compute-differences.js
line 170, you can replace:
is_in_manifest = _.contains(manifest.templates.application[application].files, module_path);
with:
if (_.contains(manifest.templates.application[application].files, module_path)) {
is_in_manifest = true;
}
This also applies to Extensions DevTools 23.2, though it’s less noticeable since it’s only triggered for extensions that have templates and there’s at least one template that is not present in all applications.
For example, if in the extension’s manifest.json
a template is added to templates.application.shopping.files
but not to templates.application.checkout.files
, then it will remove all templates except one. If all extension templates are added to all applications, then the issue is not reproducible.
Sharing with the broader channel in case it’s helpful to anyone else.Maxi
02/29/2024, 8:26 PM