You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The variables var1, and var2 are NOT substituted.
Output:
-- Changeset prop_test.yaml::SteveZ::123
INSERT INTO PUBLIC.ORCH_DVS_IDP_ITEMS (DVS_IDP_ID) VALUES ((SELECT ID FROM ORCH_DVS_IDPS WHERE IDP_ID = (SELECT ID FROM ORCH_IDPS WHERE IDP_ENTITY_ID = '${var2}' AND IDP_TYPE = '${var1}')));
Expected/Desired Behavior
When running the updateSQL with the same YAML changelog, the variables are substituted.
-- Changeset prop_test.yaml::SteveZ::123
INSERT INTO PUBLIC.ORCH_DVS_IDP_ITEMS (DVS_IDP_ID) VALUES ((SELECT ID FROM ORCH_DVS_IDPS WHERE IDP_ID = (SELECT ID FROM ORCH_IDPS WHERE IDP_ENTITY_ID = 'urn:nl-eid-gdi:1.0:AD:00000004000000149000:entities:9999' AND IDP_TYPE = 'IDPSIM')));
Additional Context
The issue doesn't seem to happen with XML changelogs.
The text was updated successfully, but these errors were encountered:
sync-by-unitobot
changed the title
LB v4.2.0 - Variables are NOT substituted when using nested properties deeper than level 1 in another property definition with YAML
LB v4.2.0 - Variables are NOT substituted when using nested properties deeper than level 1 in another property definition with YAML
Dec 7, 2020
Liquibase Version:
Liquibase 4.2.0, 4.1.1
Liquibase Integration & Version: CLI
Description
When using nested properties that are deeper than level 1 in a YAML changelog, the variables will NOT get substituted.
Steps To Reproduce
Actual Behavior
The variables var1, and var2 are NOT substituted.
Output:
Expected/Desired Behavior
When running the updateSQL with the same YAML changelog, the variables are substituted.
Additional Context
The issue doesn't seem to happen with XML changelogs.
The text was updated successfully, but these errors were encountered: