CumulusCI icon indicating copy to clipboard operation
CumulusCI copied to clipboard

"Workflow" and "MatchingRules" are removed from package.xml after running "update_package_xml" task

Open Julian88Tex opened this issue 2 years ago • 1 comments

Describe the bug

I noticed some XML types seem to disappear after running "update_package_xml" and I'm wondering if this is intentional or a bug.

Screenshot 2023-04-23 at 12 24 42 AM Screenshot 2023-04-23 at 12 33 26 AM

Reproduction steps

  1. In a repo with a cci project setup and a packaging folder that contains Workflows and MatchingRules run cci task run create_managed_src
  2. In the newly created src folder copy the package.xml to a different location
  3. Run cci task run update_package_xml
  4. Use a diff tool to compare the original package.xml to the newly updated one in src

Result: "Workflow" and "MatchingRules" are missing from package.xml after update.

Expected Result: "Workflow" and "MatchingRules" are still present in package.xml after update.

Your CumulusCI and Python versions

CumulusCI version: 3.75.1 (/Users/julianjoseph/.local/bin/cci) Python version: 3.10.0 (/Users/julianjoseph/.local/pipx/venvs/cumulusci/bin/python)

Operating System

MacOS 13.3.1

Windows environment

No response

CumulusCI installation method

pipx

Error Gist

No response

Additional information

@davidmreed believes this may be a bug and requested this ticket be created as per this conversation: https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PeOru

Julian88Tex avatar Apr 25 '23 23:04 Julian88Tex

I'm 90% sure this is the same underlying issue as #3137.

davidmreed avatar Apr 25 '23 23:04 davidmreed