[BUG]: sf project delete source -m "Flow:XYZ` returns insufficient access rights on cross-reference id
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 65/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- node.js
- Lĩnh vực
- cli
Hướng nghiên cứu
Start by locating the implementation and tests for the sf project delete source command, then trace how it handles Flow components and their versions. Reproduce with the provided steps using an unactivated screen flow. Done means the command deletes the flow and all versions without the cross-reference access error.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Before You Submit
- I'm using the latest version of Salesforce CLI
- I've searched the existing issues
- I've run
sf doctorto diagnose common issues
Related Issue
No response
Command
sf project delete source
Org Type
Sandbox
Did this work before?
No, this is a new bug
Last Working Version
No response
Summary
When I'm trying to delete Flow entirely, it always return insufficient access rights on cross-reference id even though I'm an admin and I have all rights to the flow.
I can delete the same flow without any issues from the UI.
sf project delete source -r -m "Flow:FO_Sampling_Flow"
Component Failures [1]
┌───────┬──────────────────┬──────────────────────────────────────────────────┐
│ Type │ Name │ Problem │
├───────┼──────────────────┼──────────────────────────────────────────────────┤
│ Error │ FO_Sampling_Flow │ insufficient access rights on cross-reference id │
└───────┴──────────────────┴──────────────────────────────────────────────────┘
Repository to Reproduce
No response
Steps to reproduce
- Create screen flow "TestDeleteIssues". It doesn't need to be activated, just saved.
sf project delete source -r -m "Flow:TestDeleteIssues"- Notice error
Expected Result
Flow and all flow versions should be deleted., regardless of activation status.
Actual Result
Component Failures [1]
┌───────┬──────────────────┬──────────────────────────────────────────────────┐
│ Type │ Name │ Problem │
├───────┼──────────────────┼──────────────────────────────────────────────────┤
│ Error │ TestDeleteIssues │ insufficient access rights on cross-reference id │
└───────┴──────────────────┴──────────────────────────────────────────────────┘
Error Message
insufficient access rights on cross-reference id
System Information
{
"architecture": "win32-x64",
"cliVersion": "@salesforce/cli/2.157.8",
"nodeVersion": "node-v24.20.0",
"osVersion": "Windows_NT 10.0.26300",
"rootPath": "C:\\Users\\piotr\\AppData\\Roaming\\npm\\node_modules\\@salesforce\\cli",
"shell": "cmd.exe",
"pluginVersions": [
"@oclif/plugin-autocomplete 4.0.6 (core)",
"@oclif/plugin-commands 5.0.6 (core)",
"@oclif/plugin-help 7.0.6 (core)",
"@oclif/plugin-not-found 4.0.7 (core)",
"@oclif/plugin-plugins 7.0.13 (core)",
"@oclif/plugin-search 2.0.9 (core)",
"@oclif/plugin-update 5.0.10 (core)",
"@oclif/plugin-version 3.0.7 (core)",
"@oclif/plugin-warn-if-update-available 4.0.5 (core)",
"@oclif/plugin-which 4.0.6 (core)",
"@salesforce/cli 2.157.8 (core)",
"agent 2.2.3 (core)",
"apex 4.4.4 (core)",
"api 2.0.24 (core)",
"auth 6.0.0 (core)",
"code-analyzer 5.16.0 (user)",
"data 5.1.24 (core)",
"deploy-retrieve 4.3.2 (core)",
"info 4.0.22 (core)",
"lightning-dev 6.2.19 (user)",
"limits 4.0.6 (core)",
"marketplace 2.0.23 (core)",
"org 7.0.10 (core)",
"packaging 3.0.17 (core)",
"schema 4.0.16 (core)",
"settings 3.0.22 (core)",
"sobject 2.0.20 (core)",
"telemetry 4.2.4 (core)",
"templates 57.5.0 (core)",
"trust 4.0.28 (core)",
"user 6.0.6 (core)",
"sfdmu 5.8.0 (user)",
"sfdx-git-delta 6.45.1 (user)"
]
}
Additional Information
No response
Screenshots or Log Files
No response
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 575
- Fork
- 80
- Merge trung bình
- 5 giờ 58 phút
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của forcedotcom/cli
-
area:afdx bug owned by another team
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
forcedotcom/cli#3676 · 3 bình luận ·
-
sf agent mcp asset replace --assets null throws raw TypeError instead of InvalidShapeCó thể đã có người làm @konkonrong-lgtm đã nhận 91 ngày trước. Đang mởarea:afdx bug investigating owned by another team validated
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
forcedotcom/cli#3625 · 4 bình luận ·
-
area:afdx bug owned by another team
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
forcedotcom/cli#3608 · 2 bình luận ·
-
investigating regression validated
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
forcedotcom/cli#3686 · 3 bình luận ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 53/100
forcedotcom/cli#3685 · 2 bình luận · 1 reaction ·
Tất cả issue của forcedotcom/cli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
criticalmanufacturing/cli#909 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
vercel-labs/just-bash#756 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/auth comp/cli P2 type/feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
NousResearch/hermes-agent#153245 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Expression with ill-formed typeĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 94/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug need-triage SaaS security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày