LangugeRouting with Client.Get()



I'm using Find 13.0.5 and trying out the new LanguageRouting. I have a class with a LanguageRouting property that has has the LanguageRoutingAttribute. When I index such an entity without setting the LanguageRouting property, I can do Client.Get(id) and get a response back. But when I add the LanguageRouting and then call Client.Get(id) I get nothing back. There's an overload in Client.Get() that takes language routing as the second argument, but when looking at the implementation that argument is ignored. And passing the argument still returns null.

Is this a bug or am I missing something?

Mar 25, 2019 9:14

This is almost certainly a bug. Client.Get() calls Client.GetWithMeta() internally, and GetWithMeta() takes a languageRouting argument but Client.Get() forgets to pass it on. Calling Client.GetWithMeta() instead gives me the correct entity back.

Mar 25, 2019 9:25
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.