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

Delete type may leave empty RecordTypeData #35

Open
gklyne opened this issue Oct 23, 2014 · 2 comments
Open

Delete type may leave empty RecordTypeData #35

gklyne opened this issue Oct 23, 2014 · 2 comments
Labels

Comments

@gklyne
Copy link
Owner

gklyne commented Oct 23, 2014

If a type is deleted, its corresponding RecordTypeData directory is not removed, which results in warning messages to the Annalist server log.

If there are no entities of the deleted type, the deletion should also delete the RecordTypeData entity and directory.

If data for the type still exists, then the delete operation should be refused.

@gklyne gklyne added the bug label Oct 23, 2014
@gklyne
Copy link
Owner Author

gklyne commented Nov 12, 2014

See also issue #34 and commit ff3121e
If data still exists, deletion is now refused.

@gklyne gklyne added question and removed bug labels Feb 2, 2015
@gklyne
Copy link
Owner Author

gklyne commented Feb 2, 2015

Removed bug label for now, as not deleting unused RecordData entities/directories does not seem to cause any problems. Leave it tagged as a question: should empty RecordData directories/entities be deleted?

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