Activities of "Anjali_Musmade"

Hello ,

Can you check this ticket https://support.abp.io/QA/Questions/6544/API-Performance-Issue. In this ticket give the steps how to create a log file.

Thank you,

Hi,

could you please share some steps to reproduce the issue.

Hi , Please check this

Thanks,

Hello,

Please try with this code

Add in .html file <input readonly id="book-date" formControlName="date" class="form-control" [maxDate]="maxDate" ngbDatepicker #dateInput="ngbDatepicker" (click)="dateInput.open()" />

Add in.ts file

currentdate = new Date(); day = this.currentdate.getDate(); month = this.currentdate.getMonth() + 1; year = this.currentdate.getFullYear(); maxDate: NgbDateStruct = { year: this.year, month: this.month, day: this.day };

and add this package import { NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';

which will results like

thanks

Hi,

please check similar issue https://support.abp.io/QA/Questions/1464/Date-Field-Restrictions-and-Format

please let me know if found helpful

thanks

Answer

Hi

can you configure this in your module and then share the logs it will be helpful if the strack trace is there

Configure<AbpExceptionHandlingOptions>(options =>
{
    options.SendExceptionsDetailsToClients = true;
    options.SendStackTraceToClients = true;
});

Hello,

There is no such example , but inside the shared project you need to create a EntityFrameworkProject just like in Microservices. and also need to create a DBContext.

Thanks

Answer

I will try. But what about get features it fell down two.
And can You answer me can feature has a name with white spaces?

No, feature must has some name it is not possible with white space you may check here https://docs.abp.io/en/abp/latest/Features#other-feature-properties

Answer

And is it ok that I have FeatureDefinitionProvider in the domain project

You may have but its better to have in Application.Contracts check here in documentation https://docs.abp.io/en/abp/latest/Features#featuredefinitionprovider

Answer

Hi,

I think the issue is in your code shared above. Try to optimize it.

I am not sure but can you please try with this code

private async Task<List<AssessmentTypeDto>> GetListAssessmentTypesWithCheckedFeatures(List<AssessmentType> asmtypes)
{
    var results = _objectMapper.Map<List<AssessmentType>, List<AssessmentTypeDto>>(asmtypes);
    var updatedResults = new List<AssessmentTypeDto>();
 
    foreach (var m in results)
    {
        var isEnableType = await _featureChecker.IsEnabledAsync(m.Code);
 
        if (isEnableType)
        {
            var movements = m.Movements.Where(x => await _featureChecker.IsEnabledAsync(x.Code)).OrderBy(x => x.DisplayOrder).ToList();
            m.Movements = movements;
            updatedResults.Add(m);
        }
        else
        {
            m.Movements = new List<AssessmentMovementDto>();
        }
    }
 
    return updatedResults;
}

thanks,

Showing 681 to 690 of 1315 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 20, 2025, 07:44