You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using gollum to navigate to a symlink page (eg link-page that links to target-page) and edit it frow the webui it commits the changes directly to the link-page and removes the symlink. But after the commit the changes are applied to the target-page and the link is recreated, but these things are not commited.
To Reproduce
Steps to reproduce the behavior:
Have a wiki with symlink link-page to target-page
navigate to link-page on the webui
edit the link-page and save
git log shows the changes directly on link-page
git status shows the unstaged changes to target-page and the recreated link
Expected behavior
Leave the link intact and apply the changes directly to the target-page.
Thanks for the report @douwedb . @dometto and I weren't able to reproduce step 5, neither on 5.3.0, nor on master. However, we can confirm that the symlink was overwritten on edit, which does constitute a bug.
We'll look into a fix for this, probably by ensuring that the symlink status is preserved on edit (in gollum) so that the write_page call (which is handled in gollum-lib) will get the path to the target page (instead of the path to the link page, as is currently the case).
Describe the bug
When using gollum to navigate to a symlink page (eg link-page that links to target-page) and edit it frow the webui it commits the changes directly to the link-page and removes the symlink. But after the commit the changes are applied to the target-page and the link is recreated, but these things are not commited.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Leave the link intact and apply the changes directly to the target-page.
Screenshots
N/A
Environment Info
docker container: gollumwiki/gollum:v5.3.0
Gollum 5.3.0
The text was updated successfully, but these errors were encountered: