Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with BulkUpdate Action in XpandFramework Reactive BulkUpdate Module #1083

Open
nitishgawde92 opened this issue Jan 1, 2025 · 5 comments
Assignees
Labels
Bug Reactive.XAF eXpandFrameowrk/DevExpress.XAF project
Milestone

Comments

@nitishgawde92
Copy link

𝗗𝗲𝘀𝗰𝗿𝗶𝗯𝗲 𝘁𝗵𝗲 𝗕𝘂𝗴
In the Reactive BulkUpdate module of XpandFramework, the BulkUpdate action intermittently fails to display when using .NET 9 with C# in a Blazor Server application. After investigation, it appears that this issue arises when an XAF Web API is included in the same project (Web API and XAF in a single project).

𝗧𝗼 𝗥𝗲𝗽𝗿𝗼𝗱𝘂𝗰𝗲
Steps to reproduce the behavior:
Create a Blazor Server project using .NET 9 and Visual Studio 2022.
Include DevExpress Universal 24.2.3 in the project.
Add the Reactive BulkUpdate module.
Integrate an XAF Web API within the same project.
Attempt to use the BulkUpdate action.
Observe that the action sometimes appears and sometimes does not.
𝗘𝘅𝗽𝗲𝗰𝘁𝗲𝗱 𝗕𝗲𝗵𝗮𝘃𝗶𝗼𝗿
The BulkUpdate action should consistently display regardless of whether an XAF Web API is included in the project.
𝗖𝗼𝗻𝗳𝗶𝗴𝘂𝗿𝗮𝘁𝗶𝗼𝗻
Framework: .NET 9
IDE: Visual Studio 2022
DevExpress Version: Universal 24.2.3
Application Type: Blazor Server
Notes
This issue seems tied to the coexistence of XAF Web API and Blazor Server within the same project. Further investigation is needed to determine the root cause.

@nitishgawde92 nitishgawde92 added Bug Reactive.XAF eXpandFrameowrk/DevExpress.XAF project labels Jan 1, 2025
@apobekiaris
Copy link
Member

I appreciate the detailed steps however a sample is required

thnks for the understanding

@nitishgawde92
Copy link
Author

XAPNDMODULE.zip

Please Check startup file and Comment WebApi code action will display other wise not

image

@apobekiaris
Copy link
Member

interesting case to say the least! thnks for the heads up. I did not had the time to go deep dive but I have a solution which will include in the next minor. My guess is that now there is some hidden Xaf cache that mess this up. In any case please be aware that we may encounter such case again most probably cause my current solution works around the problem.

@apobekiaris
Copy link
Member

additional notes:

  1. since u have RequiredModuleTypes.Add(typeof(Xpand.XAF.Modules.BulkObjectUpdate.BulkObjectUpdateModule)); u do nto need the same registration in your front end project.
  2. To install the package the BulkUpddate package the only req is this <PackageReference Include="Xpand.XAF.Modules.BulkObjectUpdate" Version="4.242.4.2" /> in your agnostic module

@apobekiaris
Copy link
Member

The pre-release 4.242.4.0 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: No packages released.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Reactive.XAF eXpandFrameowrk/DevExpress.XAF project
Projects
None yet
Development

No branches or pull requests

2 participants