Skip to content

ExportAllSource will delete unchanged files #179

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

Closed
hecon5 opened this issue Feb 23, 2021 · 4 comments
Closed

ExportAllSource will delete unchanged files #179

hecon5 opened this issue Feb 23, 2021 · 4 comments

Comments

@hecon5
Copy link
Contributor

hecon5 commented Feb 23, 2021

@joyfullservice: With recent update, the exportallsource with blnFullExport set to FALSE will delete tables not changed from the directory.

Looks like FastSave uses the same export flush/delete for the folders and while it (correctly) doesn't process the output file, it also deletes the previous one.

@joyfullservice
Copy link
Owner

I was able to reproduce this is the testing database... I will check this out and hope to push a fix shortly...

@joyfullservice
Copy link
Owner

Looks like the problem is with the ClearOrphanedSourceFiles function. It is making a couple assumptions that are not always correct. I am going to rewrite this function to handle cases where object types may have several different possible file extensions. (For example, tables may be represented as .bas, .xml, or .json files.)

@joyfullservice
Copy link
Owner

I just uploaded a new release to address this issue. Thanks for the bug report!

@hecon5
Copy link
Contributor Author

hecon5 commented Feb 23, 2021

huzzah! Thanks! Been frantically trying to get another project off my plate, so I'm glad you could take it.

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

No branches or pull requests

2 participants