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
XDT transform causes xml file to have extra data in it (unusable until manually fixed) #1482
Comments
Thank you for logging this. Let's rewrite this a bit. Happens with all XDT Transforms. XDT transformation was introduced in #331 (Chocolatey v0.9.9.7) but hasn't seen wide use (needs more documentation). There is a bug in it that happens sometimes that we've noticed where it adds extra data to the end of the file. It looks like (as you pointed out) it is going through the transform twice. So we'll need to investigate and hopefully find a solution. |
- Use Mutex to ensure that file is only used for each transformation - Verify by loading transformed file that it contains valid XML - Restore backup file in the event of an error
- Use Mutex to ensure that file is only used for each transformation - Verify by loading transformed file that it contains valid XML - Restore backup file in the event of an error
- Use Mutex to ensure that file is only used for each transformation - Verify by loading transformed file that it contains valid XML - Restore backup file in the event of an error
(GH-1482) Improve handling of XDT Transform errors
Merged into stable at 4f5b965 |
* stable: (GH-1482) Improve handling of XDT Transform errors
Moving bug report to correct area (cross post).
Originally from: chocolatey-community/simple-server#19
Error occurs during install of Chocolatey Server (Simple)
The text was updated successfully, but these errors were encountered: