intersystems / intersystems/git-source-control

STACK error when discarding many changed files

Offen
#845 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
ObjectScript
Sterne
22
Forks
14
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
5

Beschreibung

This was witnessed on a HealthConnect instance after some unrelated gremlin changed the directory permissions of the git repository, causing every file to be shown as edited. We tried to select all through the Git Web UI and discard the changes, but gotten an "application error" popup. The Application Error Log showed a \ error:
\HandleRequest+269^SourceControl.Git.WebUIDriver.1 : CSP Error

Image

The resolution was to go into the operating system and run git clean -df.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with the Git Web UI discard flow and the reported entry point, HandleRequest+269^SourceControl.Git.WebUIDriver.1; review the Application Error Log and reproduce the case where many files are marked edited after repository permissions change. Done means selecting and discarding the changed files no longer produces the CSP application error; the report's workaround is running git clean -df from the operating system.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
git
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
32/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.