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
Click "Refresh" ER item with empty assignedTo present in table AR item with empty assignedTo absent
Cause
Inner join used instead of left join in case of appearing constraint and sorting simultaneously:
-- constraint: yes, sorting: noSELECT .. FROM NOTE WHERE (((ASSIGNED_TO_ID IS NULL) OR (ASSIGNED_TO_ID = ?)) AND (DELETED_DATE IS NULL))
-- constraint: yes, sorting: yesSELECT .. FROM USER_ t0, NOTE t1 WHERE ((((t1.ASSIGNED_TO_ID IS NULL) OR (t1.ASSIGNED_TO_ID= ?)) AND (t1.DELETED_DATE IS NULL)) AND (t0.ID=t1.ASSIGNED_TO_ID)) ORDER BYt0.FIRST_NAMEASC, t0.LAST_NAMEASC, t0.USERNAMEASC, t1.IDASC-- constraint: no, sorting: yesSELECT .. FROM NOTE t1 LEFT OUTER JOIN USER_ t0 ON (t0.ID=t1.ASSIGNED_TO_ID) WHERE (t1.DELETED_DATE IS NULL) ORDER BYt0.FIRST_NAMEDESC, t0.LAST_NAMEDESC, t0.USERNAMEDESC, t1.IDASC
Workaround
Use explicitly specified left join in role definition (see forum reply)
The text was updated successfully, but these errors were encountered:
knstvk
changed the title
Table Join for sorting in dataGrid disturbs row level condition
Table Join for sorting in dataGrid breaks row level condition
Oct 17, 2023
See https://forum.jmix.ru/t/row-level-rol-i-sortirovka-v-grouptable/1342
Steps:
ER item with empty
assignedTo
present in tableAR item with empty
assignedTo
absentCause
Inner join used instead of left join in case of appearing constraint and sorting simultaneously:
Workaround
Use explicitly specified left join in role definition (see forum reply)
The text was updated successfully, but these errors were encountered: