Unable to locate OID for file

Aberta
#1,322 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
30/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
git, ios, swift
Domínio
devtools, mobile

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Swift
Estrelas
4k
Forks
376
Merge médio
1min
PRs com merge (30d)
1

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de thebaselab/codeapp

Todas as issues de thebaselab/codeapp

Issues semelhantes

Mais issues de Swift

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.