Base solution for your next web application

Activities of "ricardo"

Question

Hi,

I'm using mvc version 13.0.

datetime fields are not being converted to the time zone defined in host settings.

added in PreInitialize for CoreModule: Clock.Provider = ClockProviders.Utc;

the values are correctly saved in UTC in the database, but when retrieved in a query and displayed in HTML they continue to show in UTC

the converted value should be 12/01/2024 09:02:24

Hi, After updating to V13, NotificationPublisher is generating the following error:

ERROR 2024-01-11 16:07:23,657 [orker] Mvc.ExceptionHandling.AbpExceptionFilter - Can not set TenantId to 0 for IMustHaveTenant entities! Abp.AbpException: Can not set TenantId to 0 for IMustHaveTenant entities! at Abp.EntityFrameworkCore.AbpDbContext.CheckAndSetMustHaveTenantIdProperty(Object entityAsObj) at Abp.EntityFrameworkCore.AbpDbContext.ApplyAbpConceptsForAddedEntity(EntityEntry entry, Nullable1 userId, EntityChangeReport changeReport) at Abp.EntityFrameworkCore.AbpDbContext.ApplyAbpConcepts(EntityEntry entry, Nullable1 userId, EntityChangeReport changeReport) at Abp.EntityFrameworkCore.AbpDbContext.ApplyAbpConcepts() at Abp.EntityFrameworkCore.AbpDbContext.SaveChangesAsync(CancellationToken cancellationToken) at Abp.Zero.EntityFrameworkCore.AbpZeroCommonDbContext3.SaveChangesAsync(CancellationToken cancellationToken) at Abp.EntityFrameworkCore.Uow.EfCoreUnitOfWork.SaveChangesAsync() at Abp.Notifications.NotificationStore.<>c__DisplayClass14_0.<<InsertNotificationAsync>b__0>d.MoveNext() --- End of stack trace from previous location --- at Abp.Domain.Uow.UnitOfWorkManagerExtensions.WithUnitOfWorkAsync(IUnitOfWorkManager manager, Func1 action, UnitOfWorkOptions options) at Abp.Notifications.NotificationStore.InsertNotificationAsync(NotificationInfo notification) at Abp.Notifications.NotificationPublisher.PublishAsync(String notificationName, NotificationData data, EntityIdentifier entityIdentifier, NotificationSeverity severity, UserIdentifier[] userIds, UserIdentifier[] excludedUserIds, Nullable`1[] tenantIds, Type[] targetNotifiers)

my code

public async Task SendSolicitacaoColaboradorMessageAsync(UserIdentifier user, string message, NotificationSeverity severidade) { await _notificationPublisher.PublishAsync(AppNotificationNames.SolicitacoesColaborador, new MessageNotificationData(message), severity: severidade, userIds: new[] { user } ); }

await _appNotifier.SendSolicitacaoColaboradorMessageAsync(new UserIdentifier((int)AbpSession.TenantId, userId), $"mesage {Solicitacao.DataInicial}", Abp.Notifications.NotificationSeverity.Success);

Hi @ismcagdas

I didn't really pay attention to the details below:

Host.Current.Services.GetService<IPushManager>();

tanks.

Hi @ismcagdas

yes :

https://github.com/shinyorg/shiny

https://shinylib.net/

Thanks,

Hi,

I'm implementing the shiny package for background tasks and notifications in the maui app (XAML), but I am getting error when I try to inject the services:

Code:

Register Service:

Inject

Am I forgetting something to register the service?

my module:

Hi @ismcagdas

good news. I will wait for the release of version 13

Hi @ismcagdas

Thanks for the feedback. Do you have plans to update to the latest version of metronic? The version available for download is from two years ago.

I was unable to find the KeenIcons folder in the currently available metronic download.

The minimum version required is v8.1.8: https://devs.keenthemes.com/question/how-to-use-keenicons

Hi,

What is the current version of metronic used? I would like to use KeenIcons . I would like to use KeenIcons and also download the latest version of metronic Thanks.

Hi, could you please return.

Hi, could you please return.

Showing 11 to 20 of 37 entries