Hello aksogut,
Hope you doing well.
Can we close this ticket if your query is resolved? Please confirm.
Awaiting for your valuable response.
Thank You, Anjali
Hi
I have made the changes
Please replace previous code for AppBsonSerializationProvider
class with following code, i have tested it on menu item, edit is now working
public class AppBsonSerializationProvider : IBsonSerializationProvider
{
public IBsonSerializer GetSerializer(Type type)
{
Console.WriteLine(type?.FullName);
if ((type?.GetProperty(nameof(AggregateRoot.ExtraProperties)) != null) && type?.GetConstructor(Type.EmptyTypes) == null)
{
Type serializerType = typeof(AppBsonClassMapSerializer<>).MakeGenericType(type);
return (IBsonSerializer)Activator.CreateInstance(serializerType, BsonClassMap.LookupClassMap(type));
}
return null;
}
}
This is issue has been logged please check here https://github.com/abpframework/abp/issues/17521 you can remove the above code when you have upgraded abp 7.4 and test
Hi
2FA is provided by abp commercial you just need tp enable it from the account settings https://docs.abp.io/en/commercial/latest/modules/identity/two-factor-authentication
if you want to enable 2FA with Google Authenticator please see here https://docs.microsoft.com/en-us/aspnet/core/security/authentication/mfa?view=aspnetcore-6.0
Hello alexander.nikonov ,
Can you please try to add this code
import { SubscriptionService } from '@abp/ng.core';
constructor(private subscriptionService: SubscriptionService)
this.subscriptionService.closeAll() // add this line in logout event
Please let me know if this helps you or you may provide some steps to reproduce the issue as I am unable to reproduce it.
Thank you, Anjali
Hi @Sergei.Gorlovetsky,
Please replace previous code for AppBsonSerializationProvider
class with following code, i have tested it on your project, edit is now working
public class AppBsonSerializationProvider : IBsonSerializationProvider
{
public IBsonSerializer GetSerializer(Type type)
{
if ((type?.BaseType?.FullName.Contains(typeof(Volo.Abp.Domain.Entities.Auditing.FullAuditedAggregateRoot)?.FullName)).GetValueOrDefault())
{
Type serializerType = typeof(AppBsonClassMapSerializer<>).MakeGenericType(type);
return (IBsonSerializer)Activator.CreateInstance(serializerType, BsonClassMap.LookupClassMap(type));
}
return null;
}
}
Hi
can you try replacing
if (moduleIdPolicyViolated && ordinaryRolePolicyViolated) {
permissionProhibitedPageIds.push(nonLazyRouteItem.name);
}
else {
nonLazyRouteItem.invisible = false;
}
with below code
if (!(moduleIdPolicyViolated && ordinaryRolePolicyViolated)) {
nonLazyRouteItem.invisible = false;
}
and remove the
this.routesService.remove(permissionProhibitedPageIds);
Hello nanohealthserviceaccount,
Could you please check below link
https://github.com/abpframework/abp/issues/6247#issuecomment-778150542
Please do let me know if it helps you or if anything else is needed.
Thank you, Anjali
Hello oshabani,
Could you please check below link https://support.abp.io/QA/Questions/5191/Chat-Icons-does-not-appear-in-mobile-state--it-appears-only-in-pc-state-LeptonX
Please do let me know if anything else is needed.
Thank you, Anjali
Hi
can you share your angular enviornment.ts and enviornment.production.ts make sure the authority is not the swagger url it should be authserver url