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
Fixed URIResource.resolveSibling #3354
Conversation
Bug Description
Test File Structure
Test Cases
The liquibase-resources.jar contains the root and included changelogs; I created this jar and put it in the liquibase/lib. Test Environment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix addresses a regular expression that prevented certain URI resource accessors to fail to find included changelogs.
- Failing extension test harness execution is fixed by this PR.
- Manual testing completed for Liquibase SpringBoot, Liquibase Maven, Liquibase Servlet and calling Liquibase with changelog resources in a separate jar.
- No additional testing required.
APPROVED
Impact
Description
Fixes the creation of "relative" resources based on being relative to other files.
For example, using
<include path="newFile.xml" relativeToChangelogFile="true">
.The issue is only with files looked up via URLs, such as files within a jar from the classloader. It doesn't impact all ResourceAccessor implementations
Things to be aware of
Things to worry about