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

Bug/jspwiki 1197 startup crash due to missing attachment #360

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

Conversation

spyhunter99
Copy link
Contributor

No description provided.

…etc) or a human deletes an attachment from disk and leaves behind a properties file in the attachment director for a given wiki page. Before this change jspwiki would not boot up in this condition. After it will and simply logs this error condition.
@spyhunter99
Copy link
Contributor Author

tested by the following

  • start the server
  • add an attachment to the main page, confirm it's attached and stored
  • delete just the uploaded file from the file system
  • confirm the main page still renders (noting errors logged about the missing file)
  • stop then start the server again
  • confirm bootup and the main page still renders. again errors are logged about the missing file, but everything else seems to be working
  • add another attachment to the main page. no issues detected

@spyhunter99
Copy link
Contributor Author

ehm

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