abp icon indicating copy to clipboard operation
abp copied to clipboard

Localizations in a module not being returned by the gateway service after 3.1.0-rc.2 upgrade

Open wboebel opened this issue 6 years ago • 1 comments

Just upgraded a micro-service solution from 3.0.5 to 3.1.0-rc.2 according to the instructions in the blog post.

I have localizations defined in a module which are no longer included the the response from the ocelot gateway application-configuration method after upgrading from 3.0.5 to 3.1.0-rc2.

These localizations are defined in a module, which is hosted by a micro-service, which is behind a gateway, and consumed in an Angular UI.

Any suggestions on where to look?

wboebel avatar Aug 26 '20 19:08 wboebel

You can disregard. Figured it out but sharing here in case it causes trouble for anyone else.

In the DomainSharedModule for the module, where the AbpVirtualFileSystemOptions are configured, in the AddEmbedded() method, I did not previously set a base namespace value. This worked fine in v3.0.5 and my localizations were found.

Now in 3.1.0-rc.2 the localizations were not being found. Adding the baseNamespace string parameter to the AddEmbedded() method resolved the issue.

wboebel avatar Aug 26 '20 19:08 wboebel