Unable to locate OID for file

オープン
#1,322 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
git, ios, swift
領域
devtools, mobile

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Swift
スター
4k
フォーク
376
平均マージ
1分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

thebaselab/codeapp のほかの issue

thebaselab/codeapp の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。