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

Runtime ModelDifference object does not open in 22.1.4 #947

Closed emeyke closed 9 months ago

emeyke commented 2 years ago

Hi

With the latest Expand release I get this when opening model difference object runtime. Any hints what is going on. I failed to recreate the situation in a sample project - hopefully the stack gives a clue.

Actions with the duplicate 'Search' identifier are detected in the 'Xpand.ExpressApp.ModelDifference.Win.Controllers.ModelEditorTemplateViewController+ModelEditorActionsController' and 'Xpand.ExpressApp.Win.SystemModule.SearchFromDetailViewController' controllers. For a solution, see http://www.devexpress.com/kb=T191034.

at DevExpress.ExpressApp.SystemModule.ActionCollection.Add(ActionBase action) at DevExpress.ExpressApp.SystemModule.ActionCollection.AddRange(IEnumerable1 actions) at DevExpress.ExpressApp.SystemModule.ActionControlsSiteController.CollectActions() at DevExpress.ExpressApp.SystemModule.ActionControlsSiteController.SetupActionControlsSite(IActionControlsSite site) at DevExpress.ExpressApp.Win.WinWindow.OnTemplateChanged() at DevExpress.ExpressApp.Frame.SetTemplate(IFrameTemplate val) at DevExpress.ExpressApp.Win.WinWindow..ctor(XafApplication application, TemplateContext context, ICollection1 controllers, Boolean isMain, Boolean activateControllersImmediately) at Xpand.ExpressApp.Win.XpandWinWindow..ctor(XafApplication application, TemplateContext context, ICollection1 controllers, Boolean isMain, Boolean activateControllersImmediatelly) at Xpand.ExpressApp.Win.XpandWinApplication.CreateWindowCore(TemplateContext context, ICollection1 controllers, Boolean isMain, Boolean activateControllersImmediatelly) at DevExpress.ExpressApp.Win.WinShowViewStrategyBase.CreateWindow(ShowViewParameters parameters, ShowViewSource showViewSource, Boolean isMain) at DevExpress.ExpressApp.Win.MdiShowViewStrategy.CreateInspectorWindow(ShowViewParameters parameters, ShowViewSource showViewSource) at DevExpress.ExpressApp.Win.MdiShowViewStrategy.ShowViewInInspector(ShowViewParameters parameters, ShowViewSource showViewSource) at DevExpress.ExpressApp.Win.WinShowViewStrategyBase.ShowViewInNewWindow(ShowViewParameters parameters, ShowViewSource showViewSource) at DevExpress.ExpressApp.Win.MdiShowViewStrategy.ShowViewFromCommonView(ShowViewParameters parameters, ShowViewSource showViewSource) at DevExpress.ExpressApp.Actions.ActionBase.ExecuteCore(Delegate handler, ActionBaseEventArgs eventArgs)

apobekiaris commented 2 years ago

if you not use the Xpand.ExpressApp.SystemModule.Search.SearchFromDetailViewController u can try disabling it and let me know if that works cause I did not test it

XpandModuleBase.DisableControllers(typeof(SearchFromDetailViewController));
emeyke commented 2 years ago

Yes that worked after disabling these both: XpandModuleBase.DisableControllers(typeof(Xpand.ExpressApp.SystemModule.Search.SearchFromDetailViewController)); XpandModuleBase.DisableControllers(typeof(Xpand.ExpressApp.Win.SystemModule.SearchFromDetailViewController));

It would be great to use the search module though!

apobekiaris commented 2 years ago

eXpand.lab release 22.1.500.1 includes commit that relate to this task:

Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.

To minimize version conflicts we recommend that you switch to PackageReference format and use only the eXpandAgnostic, eXpandWin, eXpandWeb packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all (see the Modules installation-registrations youtube video).

Thanks a lot for your contribution.

apobekiaris commented 1 year ago

eXpand.lab release 22.2.400.0 includes commit that relate to this task:

Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.

To minimize version conflicts we recommend that you switch to PackageReference format and use only the eXpandAgnostic, eXpandWin, eXpandWeb packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all (see the Modules installation-registrations youtube video).

Thanks a lot for your contribution.

expand commented 9 months ago

Closing issue for age. Feel free to reopen it at any time.

.Thank you for your contribution.