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

Can't create a 1GP manage package with a dependency on an unlocked (no namespaced) package (eg. other open-source packages such as UnofficialSF) #48

Open
mattmartin26 opened this issue Jan 25, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mattmartin26
Copy link
Member

mattmartin26 commented Jan 25, 2022

Describe the bug
When running cci flow run ci_master --org packaging I received the the following error message, which might represent a fundamental issue with how #42 was solutioned (with dependency on other open-source components):

Malformed request https://rcav-dev-ed.my.salesforce.com/services/data/v50.0/tooling/sobjects/PackageInstallRequest/. Response content: [{'message': 'You cannot install an unlocked package without a namespace into an org with a namespace.', 'errorCode': 'FIELD_INTEGRITY_EXCEPTION', 'fields': []}]

See this Stack Exchange article for a potential explanation.

Additional context
The latest pull request (#47) includes a dependency on a couple UnofficialSF open-source components that do NOT have namespaces. The ci_master flow errored out on the second attempt to install those packages (package version id: 04t5G0000047xO4QAI). First package seems to have been successful (version id: 04t4W00000309DuQAI).

@mattmartin26 mattmartin26 added the bug Something isn't working label Jan 25, 2022
@mattmartin26 mattmartin26 self-assigned this Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant