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

Empty temporary directories created for each match in result, but never deleted #589

Closed
thomaskrause opened this issue Sep 10, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@thomaskrause
Copy link
Member

What is the used ANNIS version?
3.5.0-preview8

What browser and operating system did you use?
Ubuntu 14.04

What steps will reproduce the problem?

  1. Start a query, show or export the results

What is the expected result?

Clean temporary directory after results are closed again

What happens instead?

For each match there is an empty temporary file in the /tmp folder with the patthern /tmp/<unix-timestamp>.+

Please provide any additional information below. Also please add a screenshot if possible.

These temporary directory where created to have a document for an SDocument that is created when the match is mapped. There might been a bug in Salt that made it necessary to have a valid directory for this, but with current Salt versions leaving this value null is ok. Since it is difficult to track when the directory could be deleted, not setting it at all seems to be the best solution,

@thomaskrause thomaskrause added this to the 3.5.0-rc1 milestone Sep 10, 2018
@thomaskrause thomaskrause self-assigned this Sep 10, 2018
@thomaskrause
Copy link
Member Author

Fixed in d2a7ad8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant