eXpandFramework / eXpand

DevExpress XAF (eXpressApp) extension framework. 𝗹𝗶𝗻𝗸𝗲𝗱𝗶𝗻.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺, 𝘆𝗼𝘂𝘁𝘂𝗯𝗲.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺 and 𝘁𝘄𝗶𝘁𝘁𝗲𝗿 @𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸 and or simply 𝗦𝘁𝗮𝗿/𝘄𝗮𝘁𝗰𝗵 this repository and get notified from 𝗚𝗶𝘁𝗛𝘂𝗯
http://expand.expandframework.com
Microsoft Public License
222 stars 115 forks source link

CompatibilityException when using worldcreator + MasterDetailModule #772

Closed Johnkag closed 4 years ago

Johnkag commented 4 years ago

use this combination RequiredModuleTypes.Add(typeof(Xpand.ExpressApp.WorldCreator.DBMapper.WorldCreatorDBMapperModule)); RequiredModuleTypes.Add(typeof(Xpand.ExpressApp.WorldCreator.Win.WorldCreatorWinModule)); RequiredModuleTypes.Add(typeof(Xpand.ExpressApp.MasterDetail.Win.MasterDetailWindowsModule));

you get

System.InvalidOperationException HResult=0x80131509 Message=Exception occurs while initializing the 'Xpand.ExpressApp.WorldCreator.WorldCreatorModule' module: An error with number 1111 has occurred. Error message: The database version is greater than the application version. The application needs to be updated. Please contact your system administrator or download a new version. Additional information: the local version 2.202.46.0 of module 'MasterDetailModule' is smaller than version 20.1.701.2 in the database. Source=Xpand.XAF.Modules.Reactive StackTrace: at Xpand.XAF.Modules.Reactive.ReactiveModuleBase.SetupModules(ApplicationModulesManager applicationModulesManager) in D:\a\1\s\src\Modules\Reactive\ReactiveModuleBase.cs:line 80 at Xpand.XAF.Modules.Reactive.ReactiveModuleBase.SetupModulesPatch(ApplicationModulesManager __instance) in D:\a\1\s\src\Modules\Reactive\ReactiveModuleBase.cs:line 47 at DevExpress.ExpressApp.ApplicationModulesManager.Load(ITypesInfo typesInfo, Boolean loadTypesInfo)

Inner Exception 1: CompatibilityException: An error with number 1111 has occurred. Error message: The database version is greater than the application version. The application needs to be updated. Please contact your system administrator or download a new version. Additional information: the local version 2.202.46.0 of module 'MasterDetailModule' is smaller than version 20.1.701.2 in the database.

Johnkag commented 4 years ago

added Xpand.XAF.Modules.Reactive.ReactiveModuleBase.Unload(typeof(Xpand.XAF.Modules.MasterDetail.MasterDetailModule)); but still throws

apobekiaris commented 4 years ago

sample is required

apobekiaris commented 4 years ago

also note that v2.202.46.0 belongs to the https://github.com/eXpandFramework/DevExpress.XAF repository and v20.1.701.2 to this one

Johnkag commented 4 years ago

Win.zip

expand commented 4 years ago

We will try to answer all questions that do not require research within 24hr. To prioritize cases that require research we use the following labels in order. For all other issues the posting time is respected.

  1. ❇️ Exclusive-Services
    1. ❤ Bronze Sponsor
    2. ❤ Sponsor
    3. ❤ Backer
    4. Installation
    5. ShowStopper
    6. Nuget
    7. Contribution
    8. BreakingChange
    9. ReproSample
    10. Deployment
    11. must-have

This case is prioritized.

Johnkag commented 4 years ago

i think its because modules from the two repositories have the same name "MasterDetailModule"

apobekiaris commented 4 years ago

the standalone packages can be unloaded, instructions available in each module wiki

https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/MasterDetail#issues-debugging-troubleshooting

Johnkag commented 4 years ago

still throws even if unloaded

Johnkag commented 4 years ago

still throws after Xpand.XAF.Modules.Reactive.ReactiveModuleBase.Unload(typeof(Xpand.XAF.Modules.MasterDetail.MasterDetailModule));

apobekiaris commented 4 years ago

Sorry without further research I cannot help you more. The unload feature is tested on each build and it should work. However although you prioritized with the sample, there are pending cases with higher priority at the moment. Once i research the case I let u know.

Consider boosting the case priority as per my support tiers and please let me know if you solve it your self not to consume my resources in vain.

apobekiaris commented 4 years ago

did u resolve the case?

Johnkag commented 4 years ago

renamed expand master detail module