eXpand icon indicating copy to clipboard operation
eXpand copied to clipboard

Model editor issues from 21.1.4.x hotfixes

Open vimarx opened this issue 4 years ago โ€ข 11 comments

Model editing fails with Type: MissingMethodException Message: Mรฉtodo no encontrado: 'DevExpress.ExpressApp.Model.Core.ModelApplicationBase DevExpress.ExpressApp.Model.Core.ModelApplicationHelper.CreateModel(DevExpress.ExpressApp.DC.ITypesInfo, System.Collections.Generic.IEnumerable1<System.Type>, System.Collections.Generic.IEnumerable1<DevExpress.ExpressApp.ModuleBase>, DevExpress.ExpressApp.Core.ControllersManager, System.Collections.Generic.IEnumerable1<System.Type>, System.Collections.Generic.IEnumerable`1<System.String>, System.String, DevExpress.ExpressApp.ModelStoreBase)'. Data: 0 entries Stack trace:

en Xpand.Persistent.Base.ModelDifference.ModelBuilder.BuildModel(XafApplication application, String configFileName, XpandApplicationModulesManager applicationModulesManager) en Xpand.Persistent.Base.ModelDifference.ModelBuilder.Build(Boolean rebuild) en Xpand.Persistent.Base.ModelDifference.ModelLoader.GetMasterModelCore(Boolean rebuild) en Xpand.Persistent.Base.ModelDifference.ModelLoader.GetMasterModel(XafApplication xafApplication, Action1 action) en Xpand.Persistent.Base.ModelDifference.ModelLoader.<>c__DisplayClass12_0.<GetMasterModel>b__0() en Xpand.Utils.Helpers.Retry.<>c__DisplayClass0_0.<Do>b__0() en Xpand.Utils.Helpers.Retry.Do[T](Func1 action, TimeSpan retryInterval, Int32 retryCount) InnerException is null`

and found this Dx ticket mentioning issue about security https://supportcenter.devexpress.com/ticket/details/t1011037/modelapplicationhelper-createmodel

Any workaround or fix?

vimarx avatar Jul 18 '21 23:07 vimarx

i haven't migrate the 21.1.5 yet however this method modifier changed to non public so I guess the related calls should be replaced using relfeaction

apobekiaris avatar Jul 19 '21 05:07 apobekiaris

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
  2. โค Bronze Sponsor
  3. โค Sponsor
  4. โค Backer
  5. Installation
  6. ShowStopper
  7. Nuget
  8. Contribution
  9. BreakingChange
  10. ReproSample
  11. Deployment
  12. must-have

This case is prioritized.

apobekiaris avatar Jul 19 '21 07:07 apobekiaris

@apobekiaris now that 21.1.5 is out , please remember this .. :)

vimarx avatar Aug 08 '21 23:08 vimarx

cannot miss it eXpand, u can see my attempt at

https://github.com/eXpandFramework/Reactive.XAF/blob/16057bce80c522dc2384bd02f8af5b4069e3bf2a/tools/Xpand.XAF.ModelEditor/ModelControllerBuilder.cs#L31-L43

but this repo works are not yet finished as .net5 additional is also scheduled for this release

apobekiaris avatar Aug 08 '21 23:08 apobekiaris

Thanks!, any ETA guess?

vimarx avatar Aug 09 '21 00:08 vimarx

asap, cannot guess .NET support is an unknown factor

apobekiaris avatar Aug 09 '21 06:08 apobekiaris

.NET5 I meant

apobekiaris avatar Aug 09 '21 06:08 apobekiaris

it is now implemented on all dependencies check the next minor

apobekiaris avatar Aug 10 '21 18:08 apobekiaris

Issue is deprioritized as no Assignee found and scheduled for auto-close if no activity in the next 60 days. Thanks a lot for your contribution.

apobekiaris avatar Aug 14 '21 21:08 apobekiaris

The pre-release 4.211.6.4 in the Reactive.XAF lab branch includes commits that relate to this task:

To minimize version conflicts we recommend that you use the Xpand.XAF.Core.All, Xpand.XAF.Win.All, Xpand.XAF.Web.All 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).

Released packages: Xpand.Extensions v.4.211.6.4 Xpand.Extensions.Blazor v.4.211.6.4 Xpand.Extensions.Mono.Cecil v.4.211.6.4 Xpand.Extensions.Office.Cloud v.4.211.6.4 Xpand.Extensions.Office.Cloud.Google.Blazor v.4.211.6.4 Xpand.Extensions.Reactive v.4.211.6.4 Xpand.Extensions.XAF v.4.211.6.4 Xpand.Extensions.XAF.Xpo v.4.211.6.4 Xpand.TestsLib v.4.211.6.4 Xpand.TestsLib.Blazor v.4.211.6.4 Xpand.TestsLib.Common v.4.211.6.4 Xpand.TestsLib.EasyTest v.4.211.6.4 Xpand.TestsLib.Net461 v.4.211.6.4 Xpand.VersionConverter v.4.211.6.4 Xpand.XAF.Core.All v.4.211.6.4 Xpand.XAF.ModelEditor v.4.211.6.4 Xpand.XAF.Modules.AutoCommit v.4.211.6.4 Xpand.XAF.Modules.Blazor v.4.211.6.4 Xpand.XAF.Modules.CloneMemberValue v.4.211.6.4 Xpand.XAF.Modules.CloneModelView v.4.211.6.4 Xpand.XAF.Modules.GridListEditor v.4.211.6.4 Xpand.XAF.Modules.HideToolBar v.4.211.6.4 Xpand.XAF.Modules.JobScheduler.Hangfire v.4.211.6.4 Xpand.XAF.Modules.LookupCascade v.4.211.6.4 Xpand.XAF.Modules.MasterDetail v.4.211.6.4 Xpand.XAF.Modules.ModelMapper v.4.211.6.4 Xpand.XAF.Modules.ModelViewInheritance v.4.211.6.4 Xpand.XAF.Modules.Office.Cloud.Google v.4.211.6.4 Xpand.XAF.Modules.Office.Cloud.Google.Calendar v.4.211.6.4 Xpand.XAF.Modules.Office.Cloud.Google.Tasks v.4.211.6.4 Xpand.XAF.Modules.Office.Cloud.Microsoft v.4.211.6.4 Xpand.XAF.Modules.Office.Cloud.Microsoft.Calendar v.4.211.6.4 Xpand.XAF.Modules.Office.Cloud.Microsoft.Todo v.4.211.6.4 Xpand.XAF.Modules.Office.DocumentStyleManager v.4.211.6.4 Xpand.XAF.Modules.OneView v.4.211.6.4 Xpand.XAF.Modules.PositionInListView v.4.211.6.4 Xpand.XAF.Modules.ProgressBarViewItem v.4.211.6.4 Xpand.XAF.Modules.Reactive v.4.211.6.4 Xpand.XAF.Modules.Reactive.Logger v.4.211.6.4 Xpand.XAF.Modules.Reactive.Logger.Client.Win v.4.211.6.4 Xpand.XAF.Modules.Reactive.Logger.Hub v.4.211.6.4 Xpand.XAF.Modules.Reactive.Rest v.4.211.6.4 Xpand.XAF.Modules.RefreshView v.4.211.6.4 Xpand.XAF.Modules.SequenceGenerator v.4.211.6.4 Xpand.XAF.Modules.SuppressConfirmation v.4.211.6.4 Xpand.XAF.Modules.ViewEditMode v.4.211.6.4 Xpand.XAF.Modules.ViewItemValue v.4.211.6.4 Xpand.XAF.Modules.ViewWizard v.4.211.6.4 Xpand.XAF.Modules.Windows v.4.211.6.4 Xpand.XAF.Web.All v.4.211.6.4 Xpand.XAF.Win.All v.4.211.6.4

Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.

If you do not use these packages directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.

Thanks a lot for your contribution.

apobekiaris avatar Sep 01 '21 19:09 apobekiaris

Vielen Dank fรผr Ihre eMail. Leider bin ich bis 03.09.2021 nicht im Bรผro. Ich erhalte Ihre Nachrichten in dieser Zeit unregelmรครŸig. Bei dringenden Themen kontaktieren Sie bitte @.*** oder greifen Sie zum Telefon: 03329 6641090. Herzliche GrรผรŸe Thorsten Altmann opt-it Solutions GmbH

The pre-release 4.211.6.4 in the Reactive.XAF lab branch includes commits that relate to this task:

To minimize version conflicts we recommend that you use the Xpand.XAF.Core.All, Xpand.XAF.Win.All, Xpand.XAF.Web.All 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).

Released packages: Xpand.Extensions v.4.211.6.4 Xpand.Extensions.Blazor v.4.211.6.4 Xpand.Extensions.Mono.Cecil v.4.211.6.4 Xpand.Extensions.Office.Cloud v.4.211.6.4 Xpand.Extensions.Office.Cloud.Google.Blazor v.4.211.6.4 Xpand.Extensions.Reactive v.4.211.6.4 Xpand.Extensions.XAF v.4.211.6.4 Xpand.Extensions.XAF.Xpo v.4.211.6.4 Xpand.TestsLib v.4.211.6.4 Xpand.TestsLib.Blazor v.4.211.6.4 Xpand.TestsLib.Common v.4.211.6.4 Xpand.TestsLib.EasyTest v.4.211.6.4 Xpand.TestsLib.Net461 v.4.211.6.4 Xpand.VersionConverter v.4.211.6.4 Xpand.XAF.Core.All v.4.211.6.4 Xpand.XAF.ModelEditor v.4.211.6.4 Xpand.XAF.Modules.AutoCommit v.4.211.6.4 Xpand.XAF.Modules.Blazor v.4.211.6.4 Xpand.XAF.Modules.CloneMemberValue v.4.211.6.4 Xpand.XAF.Modules.CloneModelView v.4.211.6.4 Xpand.XAF.Modules.GridListEditor v.4.211.6.4 Xpand.XAF.Modules.HideToolBar v.4.211.6.4 Xpand.XAF.Modules.JobScheduler.Hangfire v.4.211.6.4 Xpand.XAF.Modules.LookupCascade v.4.211.6.4 Xpand.XAF.Modules.MasterDetail v.4.211.6.4 Xpand.XAF.Modules.ModelMapper v.4.211.6.4 Xpand.XAF.Modules.ModelViewInheritance v.4.211.6.4 Xpand.XAF.Modules.Office.Cloud.Google v.4.211.6.4 Xpand.XAF.Modules.Office.Cloud.Google.Calendar v.4.211.6.4 Xpand.XAF.Modules.Office.Cloud.Google.Tasks v.4.211.6.4 Xpand.XAF.Modules.Office.Cloud.Microsoft v.4.211.6.4 Xpand.XAF.Modules.Office.Cloud.Microsoft.Calendar v.4.211.6.4 Xpand.XAF.Modules.Office.Cloud.Microsoft.Todo v.4.211.6.4 Xpand.XAF.Modules.Office.DocumentStyleManager v.4.211.6.4 Xpand.XAF.Modules.OneView v.4.211.6.4 Xpand.XAF.Modules.PositionInListView v.4.211.6.4 Xpand.XAF.Modules.ProgressBarViewItem v.4.211.6.4 Xpand.XAF.Modules.Reactive v.4.211.6.4 Xpand.XAF.Modules.Reactive.Logger v.4.211.6.4 Xpand.XAF.Modules.Reactive.Logger.Client.Win v.4.211.6.4 Xpand.XAF.Modules.Reactive.Logger.Hub v.4.211.6.4 Xpand.XAF.Modules.Reactive.Rest v.4.211.6.4 Xpand.XAF.Modules.RefreshView v.4.211.6.4 Xpand.XAF.Modules.SequenceGenerator v.4.211.6.4 Xpand.XAF.Modules.SuppressConfirmation v.4.211.6.4 Xpand.XAF.Modules.ViewEditMode v.4.211.6.4 Xpand.XAF.Modules.ViewItemValue v.4.211.6.4 Xpand.XAF.Modules.ViewWizard v.4.211.6.4 Xpand.XAF.Modules.Windows v.4.211.6.4 Xpand.XAF.Web.All v.4.211.6.4 Xpand.XAF.Win.All v.4.211.6.4

Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.

If you do not use these packages directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.

Thanks a lot for your contribution.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/eXpandFramework/eXpand/issues/877#issuecomment-910612131 To: "eXpandFramework/eXpand" @.***>

Cc: "Subscribed" @.***>

Reply-To: "eXpandFramework/eXpand" @.***>

Toastbrotbaby avatar Sep 01 '21 19:09 Toastbrotbaby

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

.Thank you for your contribution.

expand avatar Dec 03 '23 21:12 expand