Priyanka的活动

Hello,

can you please shared steps to reproduced the issue.

Thanks.

Hi, these are the steps to reproduce:

  1. launch abp suite using cmd.
  2. open the solution.
  3. create new entity.
  4. Click on save.
  5. It will try to generate table and give error message that there are build error.
  6. Go to solution and check the error message.
  7. There are 2000+ error, below is the screenshot of same

All errors are coming in newly added files, below is the sample of class generated by abp suite, some %%custom-code-abstract-modifier%% type value is mentioned in all files.

using eFC.Patients; using eFC.CodeLookUps; using eFC.Encounters; using System; using System.Linq; using System.Collections.Generic; using System.Collections.ObjectModel; using Volo.Abp.Domain.Entities; using Volo.Abp.Domain.Entities.Auditing; using Volo.Abp.MultiTenancy; using JetBrains.Annotations;

%% child - entity -namespace%%

using Volo.Abp;

namespace eFC.EncounterMovementPlaceholders { public %%custom-code-abstract-modifier%% class EncounterMovementPlaceholder%%custom-code-base%% : FullAuditedEntity<long> { [NotNull] public virtual string IdentificationText { get; set; }

public virtual long InstitutionId { get; set; }

public virtual DateTime AdmissionDate { get; set; }

public virtual DateTime DischargedDate { get; set; }

[CanBeNull]
public virtual string InstitutionCode { get; set; }

[CanBeNull]
public virtual string MsgType { get; set; }

[CanBeNull]
public virtual string HAR { get; set; }

[CanBeNull]
public virtual string CIPInd { get; set; }

[CanBeNull]
public virtual string ReferralHospital { get; set; }

[CanBeNull]
public virtual string ReferralType { get; set; }

[CanBeNull]
public virtual string VIPInd { get; set; }

[CanBeNull]
public virtual string VVIPInd { get; set; }

[CanBeNull]
public virtual string OpReferralHospital { get; set; }

[CanBeNull]
public virtual string OpReferralType { get; set; }

[CanBeNull]
public virtual string FCStatus { get; set; }

[CanBeNull]
public virtual string AccountStatus { get; set; }

[CanBeNull]
public virtual string OpVisitTypeDescription { get; set; }

[CanBeNull]
public virtual string OpVisitType_Code { get; set; }

[CanBeNull]
public virtual string Accident_Code { get; set; }

[CanBeNull]
public virtual string Accomodation_Code { get; set; }

[CanBeNull]
public virtual string AdmissionType_Code { get; set; }

[CanBeNull]
public virtual string ApptCat_Code { get; set; }

[CanBeNull]
public virtual string LevelOfCare_Code { get; set; }

public virtual long OpVisitTypeID { get; set; }

[CanBeNull]
public virtual string PointOfCare_Code { get; set; }

[CanBeNull]
public virtual string Specialty_Code { get; set; }

[CanBeNull]
public virtual string SubDocType_Code { get; set; }

[CanBeNull]
public virtual string InstitutionType { get; set; }

[CanBeNull]
public virtual string DischargeLocation { get; set; }
public long? PatientId { get; set; }
public long? AccomodationCode { get; set; }
public long? AdmissionTypeId { get; set; }
public long? LevelOfcareId { get; set; }
public long? SubDocType { get; set; }
public long? SpecialtyId { get; set; }
public long? CodeLookUpId { get; set; }
public long? Status { get; set; }
public long? AccidentCode { get; set; }
public long? AccomodationCodeReason { get; set; }
public long? ApptCatCode { get; set; }
public long? DischargeDisposition { get; set; }
public long? LateDischargeReason { get; set; }
public long? PointOfCare { get; set; }
public long? TransferReason { get; set; }
public long? VisitType { get; set; }
public long? ResidentialStatus { get; set; }
public long? EncounterId { get; set; }

protected EncounterMovementPlaceholder%%custom-code-base%%()
    {

    }

public EncounterMovementPlaceholder%%custom-code-base%%(long? patientId, long? accomodationCode, long? admissionTypeId, long? levelOfcareId, long? subDocType, long? specialtyId, long? codeLookUpId, long? status, long? accidentCode, long? accomodationCodeReason, long? apptCatCode, long? dischargeDisposition, long? lateDischargeReason, long? pointOfCare, long? transferReason, long? visitType, long? residentialStatus, long? encounterId, string identificationText, long institutionId, DateTime admissionDate, DateTime dischargedDate, string institutionCode, string msgType, string hAR, string cIPInd, string referralHospital, string referralType, string vIPInd, string vVIPInd, string opReferralHospital, string opReferralType, string fCStatus, string accountStatus, string opVisitTypeDescription, string opVisitType_Code, string accident_Code, string accomodation_Code, string admissionType_Code, string apptCat_Code, string levelOfCare_Code, long opVisitTypeID, string pointOfCare_Code, string specialty_Code, string subDocType_Code, string institutionType, string dischargeLocation) {

Check.NotNull(identificationText, nameof(identificationText)); Check.Length(identificationText, nameof(identificationText), EncounterMovementPlaceholderConsts.IdentificationTextMaxLength, EncounterMovementPlaceholderConsts.IdentificationTextMinLength); Check.Length(institutionCode, nameof(institutionCode), EncounterMovementPlaceholderConsts.InstitutionCodeMaxLength, 0); Check.Length(msgType, nameof(msgType), EncounterMovementPlaceholderConsts.MsgTypeMaxLength, 0); Check.Length(hAR, nameof(hAR), EncounterMovementPlaceholderConsts.HARMaxLength, 0); Check.Length(cIPInd, nameof(cIPInd), EncounterMovementPlaceholderConsts.CIPIndMaxLength, 0); Check.Length(referralHospital, nameof(referralHospital), EncounterMovementPlaceholderConsts.ReferralHospitalMaxLength, 0); Check.Length(referralType, nameof(referralType), EncounterMovementPlaceholderConsts.ReferralTypeMaxLength, 0); Check.Length(vIPInd, nameof(vIPInd), EncounterMovementPlaceholderConsts.VIPIndMaxLength, 0); Check.Length(vVIPInd, nameof(vVIPInd), EncounterMovementPlaceholderConsts.VVIPIndMaxLength, 0); Check.Length(opReferralHospital, nameof(opReferralHospital), EncounterMovementPlaceholderConsts.OpReferralHospitalMaxLength, 0); Check.Length(opReferralType, nameof(opReferralType), EncounterMovementPlaceholderConsts.OpReferralTypeMaxLength, 0); Check.Length(fCStatus, nameof(fCStatus), EncounterMovementPlaceholderConsts.FCStatusMaxLength, 0); Check.Length(accountStatus, nameof(accountStatus), EncounterMovementPlaceholderConsts.AccountStatusMaxLength, 0); Check.Length(opVisitTypeDescription, nameof(opVisitTypeDescription), EncounterMovementPlaceholderConsts.OpVisitTypeDescriptionMaxLength, 0); Check.Length(opVisitType_Code, nameof(opVisitType_Code), EncounterMovementPlaceholderConsts.OpVisitType_CodeMaxLength, 0); Check.Length(accident_Code, nameof(accident_Code), EncounterMovementPlaceholderConsts.Accident_CodeMaxLength, 0); Check.Length(accomodation_Code, nameof(accomodation_Code), EncounterMovementPlaceholderConsts.Accomodation_CodeMaxLength, 0); Check.Length(admissionType_Code, nameof(admissionType_Code), EncounterMovementPlaceholderConsts.AdmissionType_CodeMaxLength, 0); Check.Length(apptCat_Code, nameof(apptCat_Code), EncounterMovementPlaceholderConsts.ApptCat_CodeMaxLength, 0); Check.Length(levelOfCare_Code, nameof(levelOfCare_Code), EncounterMovementPlaceholderConsts.LevelOfCare_CodeMaxLength, 0); Check.Length(pointOfCare_Code, nameof(pointOfCare_Code), EncounterMovementPlaceholderConsts.PointOfCare_CodeMaxLength, 0); Check.Length(specialty_Code, nameof(specialty_Code), EncounterMovementPlaceholderConsts.Specialty_CodeMaxLength, 0); Check.Length(subDocType_Code, nameof(subDocType_Code), EncounterMovementPlaceholderConsts.SubDocType_CodeMaxLength, 0); Check.Length(institutionType, nameof(institutionType), EncounterMovementPlaceholderConsts.InstitutionTypeMaxLength, 0); Check.Length(dischargeLocation, nameof(dischargeLocation), EncounterMovementPlaceholderConsts.DischargeLocationMaxLength, 0); IdentificationText = identificationText; InstitutionId = institutionId; AdmissionDate = admissionDate; DischargedDate = dischargedDate; InstitutionCode = institutionCode; MsgType = msgType; HAR = hAR; CIPInd = cIPInd; ReferralHospital = referralHospital; ReferralType = referralType; VIPInd = vIPInd; VVIPInd = vVIPInd; OpReferralHospital = opReferralHospital; OpReferralType = opReferralType; FCStatus = fCStatus; AccountStatus = accountStatus; OpVisitTypeDescription = opVisitTypeDescription; OpVisitType_Code = opVisitType_Code; Accident_Code = accident_Code; Accomodation_Code = accomodation_Code; AdmissionType_Code = admissionType_Code; ApptCat_Code = apptCat_Code; LevelOfCare_Code = levelOfCare_Code; OpVisitTypeID = opVisitTypeID; PointOfCare_Code = pointOfCare_Code; Specialty_Code = specialty_Code; SubDocType_Code = subDocType_Code; InstitutionType = institutionType; DischargeLocation = dischargeLocation; PatientId = patientId; AccomodationCode = accomodationCode; AdmissionTypeId = admissionTypeId; LevelOfcareId = levelOfcareId; SubDocType = subDocType; SpecialtyId = specialtyId; CodeLookUpId = codeLookUpId; Status = status; AccidentCode = accidentCode; AccomodationCodeReason = accomodationCodeReason; ApptCatCode = apptCatCode; DischargeDisposition = dischargeDisposition; LateDischargeReason = lateDischargeReason; PointOfCare = pointOfCare; TransferReason = transferReason; VisitType = visitType; ResidentialStatus = residentialStatus; EncounterId = encounterId; }

}

}

You can change the log level

ok, it works, thank you.

This is not an error and it's not code in the template.

I think one of your coworkers added the code for diagnostics, but forgot to remove it.

Ok, thanks, one more query, in the logs I can see [DBG] as well, I don't want to log [DBG], I just want to log warning and error. How to avoid [DBG]?

for example, 2024-06-26 11:35:20.041 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType. 2024-06-26 11:35:20.041 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType. 2024-06-26 11:35:20.041 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateTransportSecurityRequirement. 2024-06-26 11:35:20.041 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateTransportSecurityRequirement. 2024-06-26 11:35:20.041 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader. 2024-06-26 11:35:20.041 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader. 2024-06-26 11:35:20.043 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ValidateHostHeader. 2024-06-26 11:35:20.043 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ValidateHostHeader. 2024-06-26 11:35:20.044 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.OpenIddictValidationHandlers+EvaluateValidatedTokens.

Is it actual an error which I need to fix? or I can ignore this?

shiwei.liang@volosoft.com

I have shared the solution with you in which I'm getting the error. Please help to check.

Hi,

There is no [ERR] Request Info: Accep.... error in the logs.

Hi, I have shared one folder over my google drive and shared with you. Can you please try with that?

Hi, my email delivery is failed, can you please validate your email address from screenshot.

Hi,

There is no [ERR] Request Info: Accep.... error in the logs.

Hi, I have shared one folder over my google drive and shared with you. Can you please try with that?

okay, i 'm waiting

Can you pls try now?

Because this interface has not been implemented, have you tried running this project?

let me see, I have added files in my local and updated the selected file, may be a miss in commit.

Hi,

I could not open the UploadedFiles page

Could you share the full steps? thanks.

Err is coming before login in log files. Can you please check the logs ?

显示 103 个条目中的 1 到 10 个.
Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11