Activities of "Shoba24"

Both r correct

Hi gterdem ,

Any update?

Hi EngincanV,

This is not working.

Reproducing steps .

  1. Open Web site. shows 500 with go back home option.

  2. Click Go back home. redirects to Login page

  3. Login now all claims are displaying in ID server home page

  4. Change the url directly in id to web in browser. Able to see the dashboard

The issue is in redirection,

2021-10-11 11:18:53.860 +00:00 [INF] Request starting HTTP/1.1 GET http://cozywebqa.azurewebsites.net/ - - 2021-10-11 11:18:53.867 +00:00 [INF] Executing endpoint '/Index' 2021-10-11 11:18:53.870 +00:00 [INF] Route matched with {page = "/Index", action = "", controller = "", area = ""}. Executing page /Index 2021-10-11 11:18:53.871 +00:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2021-10-11 11:18:53.877 +00:00 [INF] Executing handler method GenieERP.Web.Pages.IndexModel.OnGet - ModelState is "Valid" 2021-10-11 11:18:53.878 +00:00 [INF] AuthenticationScheme: oidc was challenged. 2021-10-11 11:18:53.878 +00:00 [INF] Executed handler method OnGet, returned result . 2021-10-11 11:18:53.878 +00:00 [INF] Executing an implicit handler method - ModelState is "Valid" 2021-10-11 11:18:53.878 +00:00 [INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult. 2021-10-11 11:18:53.966 +00:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: SettingManagement.Emailing 2021-10-11 11:18:53.966 +00:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement 2021-10-11 11:18:53.966 +00:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement 2021-10-11 11:18:53.966 +00:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: LeptonThemeManagement.Settings 2021-10-11 11:18:53.966 +00:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: CmsKit.SettingManagement 2021-10-11 11:18:53.992 +00:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: Forms.Form 2021-10-11 11:18:54.028 +00:00 [INF] Executed page /Index in 158.33ms 2021-10-11 11:18:54.028 +00:00 [INF] Executed endpoint '/Index' 2021-10-11 11:18:54.029 +00:00 [INF] Request finished HTTP/1.1 GET http://cozywebqa.azurewebsites.net/ - - - 302 - text/html;+charset=utf-8 169.3132ms

can u share ur mail to share logs?

public async Task <IActionResult> OnPostAsync() {
	var files = Documents;
	var purchaseOrder = PurchaseOrder;
	purchaseOrder.StatusName = _settings.StatusSetting.Open;
	//Validate
	var validateResult = purchaseOrder.Validate();
	if (!validateResult.IsSuccess) {
		throw new UserFriendlyException("Model is not valid");
	}

	foreach(var fileExtension in files) {
		if (!fileExtension.ContentType.Contains("pdf") && !fileExtension.ContentType.Contains("doc") && !fileExtension.ContentType.Contains("docx") && !fileExtension.ContentType.Contains("msword")) {
			throw new UserFriendlyException("File is not in valid format");
		}
	}
	var result = await _purchaseOrdersAppService.CreateAsync(PurchaseOrder);

	if (files != null && files.Count() > 0) {
		foreach(var file in files) {
			var documentsPath = _blobStorage.UplodPurchaseOrderFile(file, result.Id).Result;
			var documentInput = new DocumentCreateDto {
				FileName = file.FileName,
				FilePath = documentsPath,
				FileSize = (int) file.Length,
				FileType = file.ContentType,
				RecordId = result.Id,
				TypeName = _settings.DocTypeSetting.PurchaseOrder
			};
			await _documentAppService.CreateAsync(documentInput);
		}
	}
	return Redirect("/PurchaseOrders");
}

Hi, we use this user friendly exception.Still got error like this

Hi EngincanV,

we want to validate and display corresponding error message on this create and edit page.

In pop up modal, we used to validate like this

and its working fine in pop up modal.

But in create/edit page ,it doesn't work well..

We get error like this

we need to display like this

Hi berkansasmaz,

Again not working...state dropdown not listing values..

But API returns a value

Showing 21 to 30 of 70 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11