Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prevent annexed files to be edited with WebUI #135

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

FPa-riken
Copy link

Fix for issue #134: Restore what seems to be the previous behaviour, namely preventing annexed files to be edited in the WebUI.

Indeed annexed content detection at :

isannex := tool.IsAnnexedFile(p)

would inevitably fail since file content has already been replaced by annexed content at :
p, err = resolveAnnexedContent(c, p)

@FPa-riken FPa-riken marked this pull request as ready for review November 14, 2022 06:30
 "IsAnnexedFile" flag was set to true when the annexed content could not be loaded, hence to avoid misunderstanding it's renamed "UnavailableAnnexedContent".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant