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

Data Macros Not Exporting With Database (VCS 3.4.17) #324

Closed
alanv73 opened this issue Apr 28, 2022 Discussed in #321 · 2 comments
Closed

Data Macros Not Exporting With Database (VCS 3.4.17) #324

alanv73 opened this issue Apr 28, 2022 Discussed in #321 · 2 comments
Assignees
Labels

Comments

@alanv73
Copy link

alanv73 commented Apr 28, 2022

Exporting a database containing data macros does not export the macros and does not report any error.
Test database attached containing After Update and After Delete data macros on the "film" table.

Discussed in #321

Originally posted by alanv73 April 27, 2022
I'm wondering where a table's Data Macros are exported. I've just done a fresh export of a back end database (not including data) and I'm not finding anything in the tdmacros folder despite the existence of both an After Update and an After Delete macro on one of the tables.
VCS 3.4.17

TEST.zip

@joyfullservice joyfullservice self-assigned this Apr 28, 2022
@joyfullservice
Copy link
Owner

Thanks for including the sample file! I was able to reproduce the issue and quickly pinpoint the problem. I will see if I can push out an update in the next day or two...

joyfullservice added a commit that referenced this issue Apr 29, 2022
The export initially goes to a temp file, not the source file. Fixes #324 on the `dev` branch.
joyfullservice added a commit that referenced this issue Apr 29, 2022
Fixing issue #324 on the master branch.
@joyfullservice
Copy link
Owner

This fix was included in the v3.4.21 release.

joyfullservice added a commit that referenced this issue May 2, 2022
Table data macro export files need to be converted from UTF-16 LE to UTF-8 before parsing the XML contents. #324, #325
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

2 participants