I’m not sure whether it bug or not. I have develope some screen (screen1) for entity$Car. That entity has some constraints which work properly in other screens but in screen1 I have used with a strange request in the XML file:
<data readOnly="false">
<collection id="carssDc"
class="com.company.entity.contracts.mkd.Car"
view="car-view">
<loader id="carDl">
<query>
<![CDATA[select distinct car from enity$CompanyCar cc
join entity$Car car on car.companyCar.id = cc.id
where cc.template.id in
('08984e82-02a2-40a1-aff3-10a91a82884c','e5040b84-60b6-3f7e-202d-61d53918d9b8')]]>
</query>
</loader>
</collection>
</data>
I get result without constraints if I will change join and began selection from entity$Car constraints work again. I have no problem with it just would like to inform you about it.