Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

No clear error when package name exceeds 38 characters #998

Closed

Description

@ppeersgi

Describe the bug
Package name is stored in custom setting SfpowerscriptsArtifact2__c, when the name exceeds 38 characters (which is the maximum length of name field of custom setting), there is no clear error when sfpowerscripts tries to update the org with the new artifact. As a result sfpowerscripts will always deploy the package, as no previous version is found on the org.

To Reproduce
Create package (I have the error with unlocked org-dependent) with name that exceeds 38 characters.

Expected behavior
Clear error that name is too long, and that the artifact cannot be updated in the org.

Screenshots
MicrosoftTeams-image (17)

Platform Details (please complete the following information):

  • OS:
  • Version [e.g. CLI Version eg: 1.6.6] sfpowerscripts 13.6.16
  • Salesforce CLI(sfdx cli) Version: 7.145.0
  • CI Platform: gitlab

Activity

  1. added
    analysis
    on May 30, 2022
  2. added
    bug
    and removed
    analysis
    on Jun 16, 2022
  3. added
    analysis
    on Jun 16, 2022
  4. removed
    analysis
    on Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions