Activities of "neethucp"

It is working now. Thank you for the fix.

Hi, The cache is getting cleared but after updating the role and invoking challenge method, the policies are not updated in the cache. It only appears if we log out and log in again. We have reproduced the issue in a template project. Can you please share the support email id so that we can sent it to you?

Hi, we need to refresh the blazor menu items after the current user role is updated. After the user role is updated, we are invoking ICurrentApplicationConfigurationCacheResetService ResetAsync method to reset the cache and call Challenge method as mentioned in this link. https://support.abp.io/QA/Questions/5537/Refresh-Token-in-Blazor-Server-App. It was working till abp v8.0.0 update. After updating abp to v8.0.0, the menu items are no longer getting refreshed. Can you please guide us on what has changed and how to fix this issue?

  • ABP Framework version: v8.0.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

Hi,

We are trying to integrate OData using https://github.com/mongodb/mongo-aspnetcore-odata package. We need to return an IQueryable and not list.

If we use (dbContext.Collection<LicenceParty>().AsQueryable()) instead of ((await GetMongoQueryableAsync<LicenceParty>())), it fixes the error, but not sure on how to apply the data filters.

I have provided the sample for brevity, but this will be a more complex query with multiple joins like licence party joined to Party etc. We have tried a few methods but was getting error in the query.

  • ABP Framework version: v7.4.0
  • UI Type: Blazor Server
  • Database System: MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

Hi,

We are getting the following when trying to join collections.

                    from licence in (await GetMongoQueryableAsync&lt;Licence&gt;())
                    join licenceParty in ((await GetMongoQueryableAsync&lt;LicenceParty&gt;())) on licence.Id equals licenceParty.LicenceId into licenceParties
                    select new { licence, licenceParties };

Expression not supported: LicenceParties.Aggregate([]).Where(e => (Convert(e, ISoftDelete).IsDeleted == False)).Where(e => (Convert(e, IMultiTenant).TenantId == 1841fe4f-3eef-8282-6391-3a0e5870cd67)) in Licences.Aggregate([]).Where(e => (Convert(e, ISoftDelete).IsDeleted == False)).Where(e => (Convert(e, IMultiTenant).TenantId == 1841fe4f-3eef-8282-6391-3a0e5870cd67)).GroupJoin(LicenceParties.Aggregate([]).Where(e => (Convert(e, ISoftDelete).IsDeleted == False)).Where(e => (Convert(e, IMultiTenant).TenantId == 1841fe4f-3eef-8282-6391-3a0e5870cd67)), licence => licence.Id, licenceParty => licenceParty.LicenceId, (licence, licenceParties) => new <>f__AnonymousType0`2(licence = licence, licenceParties = licenceParties)) because inner expression is not an IMongoQueryable representing a collection.

That worked. Thank you so much.

Thank you so much for the response. We have a blazor server application, so we don't have access to httpcontext in razor components. So not sure on from where we have to invoke the Challenge method.

Hi,

We are trying to implement a feature where in the user role is updated when the user accepts the terms and conditions after login. After the user accepts the terms and conditions, the user will have to see additional menu items. We already have refresh token enabled for the client application but is unsure on how to refresh the token from blazor server manually and store it so that the token is used in the subsequent requests. Can you please provide some guidance on how to refresh the token in blazor server app?

  • ABP Framework version: v7.3.1
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Serve)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

Hi,

We are getting "Object Disposed Exception" when we click a menu item before the current menu item page is fully loaded.

Cannot access a disposed object.

at Microsoft.AspNetCore.Components.OwningComponentBase.get_ScopedServices() at Volo.Abp.AspNetCore.Components.AbpComponentBase.get_CurrentTenant()

Can you please provide a solution to fix this?

ABP Framework version: v7.2.2 UI type: Blazor Server DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes

Hi,

We are seeing multiple api calls to configuration and localization endpoints after configuring Azure SignalR in Blazor Server Application. I assume it is invoked each time we try to access a localisation text or add a permission check in the app. Please help to fix.

/api/abp/application-localization?CultureName=en&OnlyDynamics=True&api-version=1.0 /api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0

Thanks

ABP Framework version: v7.2.2 UI type: Blazor Server DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes

Showing 1 to 10 of 26 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11