Skip to content

windows can not deploy folder with "/" #3183

Open
@exiahuang

Description

I can not deploy ReportFolder/DashBoard with "/" on windows , but work on linux or macos.
It works well on linux/macos without "/".

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>foo/</members>
        <members>foo/FooReport1</members>
        <members>foo/FooReport2</members>
        <name>Report</name>
    </types>
    <version>60.0</version>
</Package>

Functionality Before

image

This is the solution for this issue, please check it.
Thank you.
forcedotcom/source-deploy-retrieve#1466

sf cli verion

{
  "architecture": "win32-x64",
  "cliVersion": "@salesforce/cli/2.73.9",
  "nodeVersion": "node-v18.18.0",
  "osVersion": "Windows_NT 10.0.26100",
  "rootPath": "C:\\Users\\exiah\\AppData\\Roaming\\npm\\node_modules\\@salesforce\\cli",
  "shell": "cmd.exe",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.2.17 (core)",
    "@oclif/plugin-commands 4.1.16 (core)",
    "@oclif/plugin-help 6.2.21 (core)",
    "@oclif/plugin-not-found 3.2.35 (core)",
    "@oclif/plugin-plugins 5.4.25 (core)",
    "@oclif/plugin-search 1.2.18 (core)",
    "@oclif/plugin-update 4.6.23 (core)",
    "@oclif/plugin-version 2.2.20 (core)",
    "@oclif/plugin-warn-if-update-available 3.1.30 (core)",
    "@oclif/plugin-which 3.2.25 (core)",
    "@salesforce/cli 2.73.9 (core)",
    "apex 3.6.8 (core)",
    "api 1.3.3 (core)",
    "auth 3.6.87 (core)",
    "data 4.0.1 (core)",
    "deploy-retrieve 3.17.7 (core)",
    "dev 1.2.1 (user) published 469 days ago (Sat Oct 14 2023) (latest is 2.5.1)",
    "info 3.4.32 (core)",
    "limits 3.3.44 (core)",
    "marketplace 1.3.7 (core)",
    "org 5.2.23 (core)",
    "packaging 2.9.12 (core)",
    "schema 3.3.46 (core)",
    "settings 2.4.10 (core)",
    "sobject 1.4.49 (core)",
    "telemetry 3.6.29 (core)",
    "templates 56.3.35 (core)",
    "trust 3.7.55 (core)",
    "user 3.6.6 (core)",
    "sfdx-password-login 0.0.5 (user) published 14 days ago (Sat Jan 11 2025)",
    "sfdx-xy-plugin 0.0.9 (user) published 462 days ago (Sat Oct 21 2023)"
  ]
}

Metadata

Assignees

No one assigned

    Labels

    investigatingWe're actively investigating this issuevalidatedVersion information for this issue has been validated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions