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
What version of EMX2 are you using (see footer)
Software version: v11.25.0
Describe the bug
When creating an Order entry via a refback from Pet in the Petstore schema, the conditional expression set on the price column of the Order table is not applied. This results in missing mandatory fields when editing the entry directly in the Order table, as the conditional logic is bypassed during refback creation.
Create petstore database, use template (without data)
Set up references in the Petstore schema:
Order has a ref to Pet.
Pet has a refback to Order.
In the Order table, add a computed column categoryPet with the expression pet?.category?.name.
Add a conditional expression on the Order table's price column with the condition categoryPet === "test".
Test the setup:
Create a category named "test".
Create a Pet entry and save it.
Edit the Pet entry to add an Order, filling in all mandatory fields.
Go to the Order table, and edit the entry created via the Pet refback.
See error
Expected behavior
All mandatory fields should be filled, and the conditional expression should apply correctly.
Actual Behavior
Not all mandatory fields are filled in Order because the conditional expression on price is not applied when the entry is created via the Pet refback.
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered:
What version of EMX2 are you using (see footer)
Software version: v11.25.0
Describe the bug
When creating an
Order
entry via a refback fromPet
in the Petstore schema, the conditional expression set on theprice
column of theOrder
table is not applied. This results in missing mandatory fields when editing the entry directly in theOrder
table, as the conditional logic is bypassed during refback creation.To Reproduce
Steps to reproduce the behavior:
Order has a ref to Pet.
Pet has a refback to Order.
categoryPet
with the expressionpet?.category?.name
.Order
table's price column with the conditioncategoryPet === "test"
.Create a category named "test".
Create a Pet entry and save it.
Edit the Pet entry to add an Order, filling in all mandatory fields.
Expected behavior
All mandatory fields should be filled, and the conditional expression should apply correctly.
Actual Behavior
Not all mandatory fields are filled in Order because the conditional expression on price is not applied when the entry is created via the Pet refback.
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: