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

PersonAccount duplicateRules and matchingRules #2656

Open
MarosSitkoEnehano opened this issue Jan 19, 2024 · 4 comments
Open

PersonAccount duplicateRules and matchingRules #2656

MarosSitkoEnehano opened this issue Jan 19, 2024 · 4 comments
Labels
bug Issue or pull request that identifies or fixes a bug custom-registry validated Version information for this issue has been validated

Comments

@MarosSitkoEnehano
Copy link

Summary

I would like to report issue similar to #734 and #685. 'sf project retrieve start' do not work correctly as it create account files instead of personAccount

Steps To Reproduce

Duplicate rule for person account is created in scratch org. When I run sf project retrieve start, duplicateRules folder with file PersonAccount.My_Duplicate_Rule.duplicateRule-meta.xml will be created in my default folder. I move it to package folder. MatchingRules folder is not created, I received warning
unpackaged/package.xml : Entity of type 'MatchingRule' named 'Account.MyMatchingRule' cannot be found`

I need to download it with Org Browser in VS code and move to correct package folder.

Then I run again sf project retrieve start, DuplicateRule is downloaded again in my default folder, package folder is ignored, and also warning message for '...Account.MyMatchingRule' cannot be found

System Information

{
  "architecture": "darwin-arm64",
  "cliVersion": "@salesforce/cli/2.24.4",
  "nodeVersion": "node-v20.10.0",
  "osVersion": "Darwin 23.1.0",
  "rootPath": "/Users/marossitko/.local/share/sf/client/2.24.4-c9898a2",
  "shell": "zsh",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.0.5 (core)",
    "@oclif/plugin-commands 3.1.0 (core)",
    "@oclif/plugin-help 6.0.10 (core)",
    "@oclif/plugin-not-found 3.0.8 (core)",
    "@oclif/plugin-plugins 4.1.15 (core)",
    "@oclif/plugin-search 1.0.11 (core)",
    "@oclif/plugin-update 4.1.7 (core)",
    "@oclif/plugin-version 2.0.11 (core)",
    "@oclif/plugin-warn-if-update-available 3.0.9 (core)",
    "@oclif/plugin-which 3.0.14 (core)",
    "@salesforce/cli 2.24.4 (core)",
    "apex 3.0.17 (core)",
    "auth 3.2.0 (core)",
    "data 3.0.14 (core)",
    "deploy-retrieve 3.1.0 (core)",
    "env 3.0.14 (user)",
    "info 3.0.15 (core)",
    "limits 3.1.2 (core)",
    "marketplace 1.0.16 (core)",
    "org 3.2.2 (core)",
    "packaging 2.1.0 (core)",
    "schema 3.1.0 (core)",
    "settings 2.0.15 (core)",
    "sobject 1.1.0 (core)",
    "source 3.1.3 (core)",
    "telemetry 3.1.9 (core)",
    "templates 56.0.9 (core)",
    "trust 3.3.1 (core)",
    "user 3.2.1 (core)",
    "sfdx-browserforce-plugin 4.0.0 (user)"
  ]
}
@MarosSitkoEnehano MarosSitkoEnehano added the investigating We're actively investigating this issue label Jan 19, 2024
Copy link

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

@github-actions github-actions bot added the validated Version information for this issue has been validated label Jan 19, 2024
@mshanemc
Copy link
Contributor

Have you got a sample repro for this? [I'm pretty sure that's a bug in SDR; I'd like to have your repro project for testing purposes as I try to fix it]

@mshanemc mshanemc added bug Issue or pull request that identifies or fixes a bug and removed investigating We're actively investigating this issue labels Jan 26, 2024
Copy link

git2gus bot commented Jan 26, 2024

This issue has been linked to a new work item: W-14898995

@MarosSitkoEnehano
Copy link
Author

Have you got a sample repro for this? [I'm pretty sure that's a bug in SDR; I'd like to have your repro project for testing purposes as I try to fix it]

it's client's org, I can not share, but I will try to prepare project for replicate in next days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug custom-registry validated Version information for this issue has been validated
Projects
None yet
Development

No branches or pull requests

2 participants