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

windows can not deploy folder with "/" #3183

Open
exiahuang opened this issue Jan 17, 2025 · 4 comments
Open

windows can not deploy folder with "/" #3183

exiahuang opened this issue Jan 17, 2025 · 4 comments
Labels
investigating We're actively investigating this issue validated Version information for this issue has been validated

Comments

@exiahuang
Copy link

exiahuang commented Jan 17, 2025

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)"
  ]
}
@exiahuang exiahuang added the investigating We're actively investigating this issue label Jan 17, 2025
Copy link

Hello @exiahuang 👋 It looks like you didn't include the full Salesforce CLI version information in your issue.
Please provide the output of version --verbose --json for the CLI you're using (sf or sfdx).

A few more things to check:

  • Make sure you've provided detailed steps to reproduce your issue.
    • A repository that clearly demonstrates the bug is ideal.
  • Make sure you've installed the latest version of Salesforce CLI. (docs)
    • Better yet, try the rc or nightly versions. (docs)
  • Try running the doctor command to diagnose common issues.
  • Search GitHub for existing related issues.

Thank you!

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 more information required Issue requires more information or a response from the customer and removed investigating We're actively investigating this issue labels Jan 17, 2025
Copy link

This issue has not received a response in 7 days. It will auto-close in 7 days unless a response is posted.

@github-actions github-actions bot added the stale label Jan 25, 2025
Copy link

Hello @exiahuang 👋 None of the versions of sf you shared match the latest release.

Shared: 2.71.6
Latest: 2.73.9

Update to the latest version of Salesforce CLI (docs) and confirm that you're still seeing your issue.
You can also try the rc and nightly releases! (docs)

After updating, share the full output of sf version --verbose --json

@github-actions github-actions bot added investigating We're actively investigating this issue validated Version information for this issue has been validated and removed more information required Issue requires more information or a response from the customer labels Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating We're actively investigating this issue validated Version information for this issue has been validated
Projects
None yet
Development

No branches or pull requests

2 participants