Open FPa-riken opened 2 years ago
Describe the bug
The WebUI conveniently allows to edit any text file (xml, markdown, etc.) online, but when the file content is annexed, the pointer file or symlink target is loaded in the online Editor instead of the actual content.
GIN version gin-live-2020-10-24
To Reproduce
Create a repo with some annexed text file :
mkdir annexed-text ; cd annexed-text gin create --here annexed-text "Repo with annexed text files" echo "This file should be editable using the WebUI" > README.md git annex add README.md gin commit -m "initial commit" . gin upload .
Open WebUI, go to repo main page, click on README.md: the annexed content is correctly displayed
README.md
Then click on "Edit this file" button at the right: the content of the pointer file is loaded and can be modified.
(for info, the issue is also present in the latest version)
Describe the bug
The WebUI conveniently allows to edit any text file (xml, markdown, etc.) online, but when the file content is annexed, the pointer file or symlink target is loaded in the online Editor instead of the actual content.
GIN version gin-live-2020-10-24
To Reproduce
Create a repo with some annexed text file :
Open WebUI, go to repo main page, click on
README.md
: the annexed content is correctly displayedThen click on "Edit this file" button at the right: the content of the pointer file is loaded and can be modified.