Base solution for your next web application

Activities of "SEB_ADMIN"

Hi- For some reason the password for the "Admin" user got corrupted and we need to fix it, without using the Forgot password or Email link. Is there a way we can fix it at the DB level. Please help.

All other Host users are also having problem. So only way to get in using "Admin" credentials and fix every other user.

Regards, Sesha K.

Is it possible to have a different theme settings though if using the same application ?.

Hello - This is for Angular Application with .NET Core

This is not when Entity is not there for a primary key ( say Id for value 2.)

If the entity has varchar column that is NULLABLE and if NULL value exists in that column, It throws the following error.

"Operation Not allowed on NULL Values"

but the Entity record is present for the given primary key.

It looks like Abp is not checking NULL values before converting/casting to a String.

The repository Get methods throw exception whenever a varchar field is NULLABLE and has NULL values. I have to replace them with empty strings all the time. Is this a problem with ZERO Repository framework ? Should it not handle NULL values.

"Operation Not allowed on NULL Values" is the error message I get on any Repository.Get(primary key) methods if it has NULL values.

The group of users ( of certain role) all need to see same pages/menu options etc..I wanted to make clear.

Hi- The requirement is certain class of users ( say specific role "End User" ) need to have their own themesettings, navigation. menu and access to pages. (More like for an end user) rather than for a Tenant Admin ( say for e.g) as Tenant admin has more access to functionality. it is not per user , but for a group of users ( having same role). Again they dont need the ability to control any of these. It is just we want to deploy specific themesetting , navigation etc for certain role compared to any other tenant user/admin.

Is it possible to acheive this without duplicating the front end (Angular part) as themesettings are loaded based on the tenant and the end users will belong to the same tenant. Is it possible to segregate UI customization & navigation based on the user role ?

Regards, Sesha K.

Thankyou. That solved the problem.

the error happens on the below line in method "CheckSchedule". List<CalculatorSchedule> lstSchedule = this._schedule.GetAll().ToList();

  public class CalculatorScheduler : BackgroundService
    {
        private readonly ILogger<CalculatorScheduler> _logger;
        private readonly ICalculatorProfileJob _job;
        private readonly IRepository<CalculatorSchedule, int> _schedule;
     
        private Timer _timer;

             
        public CalculatorScheduler(ILogger<CalculatorScheduler> logger,
                                   ICalculatorProfileJob job,
                                   IRepository<CalculatorSchedule, int> schedule
                                  
                                   )
                                  
        {
            _logger = logger;
            _job = job;
            _schedule = schedule;
                   
        }

        protected override async Task ExecuteAsync(CancellationToken stoppingToken)
        {
            while (!stoppingToken.IsCancellationRequested)
            {
                _logger.LogInformation("Worker running at: {time}", DateTimeOffset.Now);
                await Task.Delay(1000, stoppingToken);
            }
        }

        public override Task StartAsync(CancellationToken cancellationToken)
        {
            _timer = new Timer(CheckSchedule, null, 0, Convert.ToInt32(TimeSpan.FromSeconds(30).TotalMilliseconds));

            return Task.CompletedTask;
        }

        public override Task StopAsync(CancellationToken cancellationToken)
        {
            _logger.LogInformation("Worker stopping at: {time}", DateTimeOffset.Now);

            _timer?.Change(Timeout.Infinite, 0);

            return Task.CompletedTask;
        }

        private void CheckSchedule(object state)
        {
            List<CalculatorSchedule> lstSchedule = this._schedule.GetAll().ToList();
            foreach (CalculatorSchedule sched in lstSchedule)
                _job.ExecuteJob(sched);

        }
    }
Showing 1 to 10 of 20 entries