Issue Bug Closed

#81126After $querySettings()->setLanguageUid(1); it doesn't change.

Bharat parmar 05/03/17, 12:05 updated 09/19/18, 01:14

Description

I have one method in my repository findByUidWithLangId($uid,$lang=0) in this i set $querySettings()->setLanguageUid(1); untill this works fine and give me record with $uid in L=1.

But after this when i call default Repository method findByUid($uid) on same repository ,it give me record with L=1 but it should gives me record in default language.

Problem is that setLanguageUid(1) is once set is remain persist even though i try to reset it to 0.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.