
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@mdapi-issues/listmetadata-installed-missing-namespaceprefix
Advanced tools
Minimal working example to demonstrate a bug in listMetadata where installed components of some metadata types are not prefixed with the namespace
Minimal working example to demonstrate a bug in listMetadata where installed components of some metadata types are not prefixed with the namespace
Affected metadata types:
CustomMetadata
Layout
QuickAction
Clone this repository.
Create a scratch org and install a dummy managed package
yarn
yarn develop
list e.g. Layouts using listMetadata
sfdx force:mdapi:listmetadata -m Layout
- actual
+ expected
[
{
"createdById": "00563000006alGRAAY",
"createdByName": "User User",
"createdDate": "1970-01-01T00:00:00.000Z",
- "fileName": "customMetadata/mdapidummy2gen__Dummy_Configuration.Test.md",
- "fullName": "mdapidummy2gen__Dummy_Configuration.Test",
+ "fileName": "customMetadata/mdapidummy2gen__Dummy_Configuration.mdapidummy2gen__Test.md",
+ "fullName": "mdapidummy2gen__Dummy_Configuration.mdapidummy2gen__Test",
"id": "m010V000000sZ56QAE",
"lastModifiedById": "00563000006alGRAAY",
"lastModifiedByName": "User User",
"lastModifiedDate": "1970-01-01T00:00:00.000Z",
"manageableState": "installed",
"namespacePrefix": "mdapidummy2gen",
"type": "CustomMetadata"
},
{
"createdById": "00563000006alGRAAY",
"createdByName": "User User",
"createdDate": "1970-01-01T00:00:00.000Z",
- "fileName": "layouts/mdapidummy2gen__Vehicle__c-Vehicle Layout.layout",
- "fullName": "mdapidummy2gen__Vehicle__c-Vehicle Layout",
+ "fileName": "layouts/mdapidummy2gen__Vehicle__c-mdapidummy2gen__Vehicle Layout.layout",
+ "fullName": "mdapidummy2gen__Vehicle__c-mdapidummy2gen__Vehicle Layout",
"id": "00h63000002UAkxAAG",
"lastModifiedById": "00563000006alGRAAY",
"lastModifiedByName": "User User",
"lastModifiedDate": "1970-01-01T00:00:00.000Z",
"manageableState": "installed",
"namespacePrefix": "mdapidummy2gen",
"type": "Layout"
},
{
"createdById": "00563000006alGRAAY",
"createdByName": "User User",
"createdDate": "1970-01-01T00:00:00.000Z",
- "fileName": "quickActions/mdapidummy2gen__Vehicle__c.Deprecate.quickAction",
- "fullName": "mdapidummy2gen__Vehicle__c.Deprecate",
+ "fileName": "quickActions/mdapidummy2gen__Vehicle__c.mdapidummy2gen__Deprecate.quickAction",
+ "fullName": "mdapidummy2gen__Vehicle__c.mdapidummy2gen__Deprecate",
"id": "09Dd00000000oIjEAI",
"lastModifiedById": "00563000006alGRAAY",
"lastModifiedByName": "User User",
"lastModifiedDate": "1970-01-01T00:00:00.000Z",
"manageableState": "installed",
"namespacePrefix": "mdapidummy2gen",
"type": "QuickAction"
}
]
FAQs
Minimal working example to demonstrate a bug in listMetadata where installed components of some metadata types are not prefixed with the namespace
The npm package @mdapi-issues/listmetadata-installed-missing-namespaceprefix receives a total of 75 weekly downloads. As such, @mdapi-issues/listmetadata-installed-missing-namespaceprefix popularity was classified as not popular.
We found that @mdapi-issues/listmetadata-installed-missing-namespaceprefix demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.