Unable to locate OID for file

Đang mở
#1,322 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
git, ios, swift
Lĩnh vực
devtools, mobile

Hướng nghiên cứu

Reproduce by cloning a repository into an iOS File Provider location, editing a file, then tapping the + stage control and opening the file diff. The error text 'Unable to locate OID for file:///private/var/mobile/...' comes from the git lookup of the file's object ID, so start where that message is produced and check how the file URL is converted to a repository-relative path. Done means staging, committing and pushing work for files in that location and the diff view opens. The issue has no comments or linked work, so ask the maintainers about the expected path handling before starting.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I can‘t see the changes in files or commit/push them.

To recreate the issue:
I cloned a Github repository using lg2 clone …, then changed something of the files
When trying to select the files to commit and push them using the + icon, it does nothing.
When tapping on the files to show the changes, it can‘t retrieve these changes and shows the following error message:
Unable to locate OID for file:///private/var/mobile/Con- tainers/Shared/AppGroup/ 25DB8CB8-3C6C-4D73- ABB3-1C4EC96BB823/File Provid...

The error first appeared for me after updating to 1.12.1

Ngôn ngữ chính
Swift
Star
4k
Fork
376
Merge trung bình
1 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của thebaselab/codeapp

Tất cả issue của thebaselab/codeapp

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.