Skip to content

Fixes BUG-49897: import sample data fails with OCD referencing a column

If a mandatory column has an onCreateDefault consisting on an expression that simply references another column in that same table and sampledata with no value for that column is applied, it fails because only literal onCreateDefault are applied in this case.

The logic has been extended to cover this case (not including recursivity), now the value of the referenced column is applied.

Edited by Augusto Mauch

Merge request reports