Unable to locate OID for file

Aperta
#1,322 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
git, ios, swift
Ambito
devtools, mobile

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Swift
Stelle
4k
Fork
376
Merge medio
1m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di thebaselab/codeapp

Tutte le issue di thebaselab/codeapp

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.