Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug] Recovery from corrupt conversation_index.xml

Aperta
#476 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
desktop

Direzione di ricerca

The issue identifies conversation_index.xml and individual conversation files but names no source files or tests. Start by locating where the Eclipse plugin reads and writes the conversation index, then inspect how it handles malformed XML and existing conversation files. Done means a truncated index no longer prevents existing conversations from appearing or new chats from being saved; recovery behavior still needs to be chosen.

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

Descrizione

bug

Environment

  • OS: Windows 11
  • Eclipse Version: 4.38.0.v20251201-0920
  • Plugin Version: 0.21.0.202609221612_nightly

Describe the bug
Somehow my conversation_index.xml got truncated. There didn't appear to be any connection to an Eclipse crash or particular activity. After this happened none of the existing conversations showed in the chat history panel but also new conversations failed to be added too. It was necessary to delete the existing conversation_index.xml file for chat history to function again with new conversations.

To Reproduce
Steps to reproduce the behavior:

  1. Edit the conversation_index.xml file and delete the file from midway through a conversation element to the end.
  2. Start Eclipse.
  3. Start a new chat.
  4. Start another chat or restart Eclipse.
  5. See that the first chat is not present in the history.

Expected behavior
Recovery from the corrupted file. This could be from a backup file that is guaranteed to validate or ideally recreating it from the individual conversation files.

Lingua principale
Java
Stelle
125
Fork
63
Merge medio
1g 14h
PR unite (30g)
3

Preparare l'ambiente

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 microsoft/copilot-for-eclipse

Tutte le issue di microsoft/copilot-for-eclipse

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.