Mono Support DBResourceManager not working on  

47469 put(a) pogledan, 6 odgovor(a), 10.2.2016. 8:04:07 - Kreirao(la) bord1986
10.2.2016. 8:04:07
30 Reputacija 4 Ukupno objava

Hello, I switched the default resource provider to DBResourceManager MonoX_5_1_40_5152

Here the web.config:
 <ResourceProviderModel defaultProvider="DBResourceManager">
      <providers>
        <clear />
        <add name="ResourceManager" type="System.Resources.ResourceManager, Mscorlib" customProperties="" />
        <add name="DBResourceManager" type="MonoSoftware.Web.ResourceProviderModel.Providers.DBResourceManager, MonoSoftware.Web.ResourceProviderModel" customProperties="" />
      </providers>
    </ResourceProviderModel>

Here the error log:
The prefetch path element at index 0 in the passed in prefetch path for root entity type 36 is meant for root entity type 39 which isn't a subtype of 36. This means that you've added a prefetch path node to a Path of an unrelated entity, for example adding OrderDetailsEntity.PrefetchPathProduct to a prefetch path for CustomerEntity.

Steps to reproduce:
Download & install MonoX 5.1, launch to check it works, switch the default ResourceProvider, get the error

1
11.2.2016. 13:23:54
30 Reputacija 4 Ukupno objava

Any news? I'm considering to use MonoX (probably I'll buy the source code too) but this problem, that seems easy to reproduce, is blocking my evaluation

2
11.2.2016. 14:14:22
15993 Reputacija 2214 Ukupno objava

Hi,

we are investigating the issue related to DBResourceProvider, in the meanwhile we just want to point out that this provider is best suitable for non-so-technical users as they can change resources using the UI. If you are building a commercial Web application then we would suggest you use open sourced Localization project from the GitHub.

Please let us know if we may be of further assistance.

Regards

3
11.2.2016. 14:19:15
30 Reputacija 4 Ukupno objava

Thanks for your suggestion, much appreciated.
Anyway I do want to give my admin users to edit the localization messages by their own.

I'll wait for your feedback about the issue on DBResourceProvider.

Regards.

4
22.2.2016. 18:38:08
30 Reputacija 4 Ukupno objava

Hello khorvat, do you have any news about this issue?

5
23.2.2016. 14:29:38
15993 Reputacija 2214 Ukupno objava

Hi,

we have upgraded DB resource manager library so please try and use the following assemblies. Just copy those to bin folder.

Regards

6
Ovo je MonoX demo site. Posjetite Mono Software za više detalja.