Skip to main content
Solved

Mock data: type_of_data=Fallback value not selectable

  • April 2, 2025
  • 1 reply
  • 15 views

Dave Bieleveld
Rookie
Forum|alt.badge.img

When I choose the “Fallback value”, it is automatically reset to “Constant value”, even though the column has a fallback value:
 

Selecting “Fallback value”
It reset to constant value

The default “def_tab_data_col_overview” checks if the column actually has a fallback value and resets it to “Constant value”. However it should only reset it when it does NOT have a fallback value.
 

Should be “and NOT exists” imho

 

Best answer by Mark Jongeling

Hi Dave,

The exists is correct, however the fallback value should also be selectable if the column is a mandatory column without a default value (query). This query now incorrectly assumes fallback value = default value, but a fallback value is also determined for mandatory columns without a fallback value.

So this is a bug. The Software Factory should allow the developer to select fallback value for mandatory non-primary key columns. Could you create a ticket in TCP for this? Thanks!

View original

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Dave,

The exists is correct, however the fallback value should also be selectable if the column is a mandatory column without a default value (query). This query now incorrectly assumes fallback value = default value, but a fallback value is also determined for mandatory columns without a fallback value.

So this is a bug. The Software Factory should allow the developer to select fallback value for mandatory non-primary key columns. Could you create a ticket in TCP for this? Thanks!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings