"viswajwalith" 'in aktiviteleri

ABP Framework version: v4.3 UI type: MVCDB provider: EF Core / MongoDB Tiered (MVC) or Identity Server Separated (Angular): yes , Microservice Architecture Exception message and stack trace:

Hi,

We are trying to integrate elsa dashboard, it worked perfectly in Application template, but when we try to integrate in microservice based ABP solution getting following error when accessing the elsa dashboard.

Hi,

We would like to show the error message with html content.

It is clear that abp.io is using Sweet alert, but it is bit confusing. In one page it says SweetArt (https://docs.abp.io/en/abp/latest/UI/AspNetCore/Overall) and in some other page it says SweetAlert2. (https://docs.abp.io/en/abp/latest/UI/AspNetCore/JavaScript-API/Message#sweetalert-configuration).

Actually as per the SweetALert2 documentation HTML in Alert message is supported (https://sweetalert2.github.io/#examples) , if abp.io is using sweetAlert2 we should be having the same support with abp.message.error but its not. can you please guide us.

ABP Framework version: v4.3.X UI type: Angular DB provider: EF Core / MongoDB Tiered (MVC) or Identity Server Separated (Angular): yes Exception message and stack trace: Steps to reproduce the issue:

Hi,

We would like to have date restrictions on certain date controls for not allowing future date and also would like to have a time entry. We assume ABP.io comes wth bootstrap datepicker but it is not working when set the restrictions.

We used the below JS to set that (which was working fine for normal textbox in other application:

$('#Observation_ObservationDate').datepicker({
    format: 'mm-dd-yyyy',
    endDate: '+0d',
    autoclose: true,
    "showTodayButton": true,
});

We used below Tag helper to create the date control :

<abp-input asp-for="Observation.ObservationDate" value="@DateTime.Now.ToString("yyyy-MM-dd")" type="date" />

HTML Markup:

<div class="form-group">
  <div class="form-item">
    <input type="text" value="2021-06-10" data-val="true" data-val-required="The ObservationDate field is required." id="Observation_ObservationDate" name="Observation.ObservationDate" class="form-control datepicker valid" placeholder=" " aria-describedby="Observation_ObservationDate-error" aria-invalid="false">
    <span class="lbl-icon">
      <i class="fi-rr-calendar"></i>
    </span>
    <label for="Observation_ObservationDate">ObservationDate
      <span class="requiredSymbol">*</span></label>
    <span class="text-danger-custom field-validation-valid" data-valmsg-for="Observation.ObservationDate" data-valmsg-replace="true"></span>
  </div>
</div>

Let us know how to customize the ABP.io control to have date restrictions (pas/future) and also using the control for accecpting only time .

ABP Framework version: v4.3.X UI type: Angular DB provider: EF Core / MongoDB Tiered (MVC) or Identity Server Separated (Angular): yes Exception message and stack trace: Steps to reproduce the issue:

Can you please provide some details about "Remember me" functionality in Login Page (Auth Server) , We dont find this is working even we select the respective checkbox. Can you please let us know if we are missing anything.

We are expecting to have Username prepopulated in login page when user selcts the "Remember me" checkbox and login successfully.

  • ABP Framework version: v4.3
  • UI type: MVC
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes (Micro Service Template)
  • Exception message and stack trace:
  • Steps to reproduce the issue:

We would like to add additional controler to the Identity Service/Module in Micro Service based architecture, We have added the required files across layers but still not able to see that controler and method exposed. Can you please guilde to handle this scenrio.

Let me know if you need additional info.

  • ABP Framework version: v4.3
  • UI type: MVC
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes (Micro Service one)
  • Exception message and stack trace:
  • Steps to reproduce the issue:

We would like to over ride the abp-input controls to customize the UI, can you please guide on how to perform the same. I mean Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.

I know we can override the pages but just trying to find a way to overRride Abp Tag helper so that it can be updated everywhere with very minila code.

  • ABP Framework version: v3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): MicroService
  • Exception message and stack trace:
  • Steps to reproduce the issue: Just create a App with Microservice template using ABP Suite

When I create a sample Application with Microservice template using ABP Suite , The solution is not compailing. The root cause is depended projects are not part of initial solution file. We dont have the .csproject files for AdministrationService and other dependent projects to add those. The one way is to add depended projects & test projects manually to the solution folder structure and give a try but that is a un necessary task on Template. Please advise..

Also I dont think this is a support ticket as it ws a bug in the 4.3 version. So please exclude this ticket from the count.

If possible please provide a syntax to create a MicroService Template using CLI so that we cangive a try.

  • ABP Framework version: v4.2.2
  • UI type: MVC
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes , Microservice Architecture
  • Exception message and stack trace:

--- End of stack trace from previous location --- at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync() 2021-04-12 18:17:38.608 +05:30 [INF] Request finished HTTP/2 GET https://localhost:451/ - - - 500 - - 12.5611ms 2021-04-12 18:23:16.287 +05:30 [INF] Request starting HTTP/2 GET https://localhost:451/ - - 2021-04-12 18:23:16.293 +05:30 [INF] Start processing HTTP request GET "https://localhost:450/api/abp/api-definition" 2021-04-12 18:23:16.293 +05:30 [INF] Sending HTTP request GET "https://localhost:450/api/abp/api-definition" 2021-04-12 18:23:16.299 +05:30 [ERR] Connection ID "17005592220331409569", Request ID "800000a2-0006-ec00-b63f-84710c7967bb": An unhandled exception was thrown by the application. System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Boolean async, Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) --- End of inner exception stack trace ---

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ After using IIS express development Certificate in IIS getting the below error ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

2021-04-14 12:27:53.400 +05:30 [INF] Request starting HTTP/2 GET https://localhost:451/ - - 2021-04-14 12:27:53.403 +05:30 [INF] Start processing HTTP request GET "https://localhost:450/api/abp/api-definition" 2021-04-14 12:27:53.403 +05:30 [INF] Sending HTTP request GET "https://localhost:450/api/abp/api-definition" 2021-04-14 12:27:53.412 +05:30 [ERR] Connection ID "17149707399817330746", Request ID "8000003b-0004-ee00-b63f-84710c7967bb": An unhandled exception was thrown by the application. System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Boolean async, Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) --- End of inner exception stack trace ---

  • Steps to reproduce the issue:
  1. Created the solution with Microservice Architecture

  2. Deployed all nesessary servier into Local IIS (for testing) with HTTPS and Local Signed certificate

  3. Updated the relevent URLS across deployed projects appsettings.json

  4. All of the Projects except (UI layer) is working fine with https calls

  5. Access the WebURL (UI Layer) ,

  6. How to resolve this issue any idea?

  7. what if we need to use http in the place of https? what are the things we need to perfom at code level.

  • ABP Framework version: v4.2.X
  • UI type: Angular
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

We have created the Microservice APplication Template and added the custom module manually to the microservices folder. We are not able to get authenticated when trying from Swagger API of the Custom Module we created, it says "Scope <<OURMODULENAME>> not found in store". . Am I missing anhything here. Also by when we can expect stabe/support version of CLI/Suite for MicroService Template?

We feeded the data into below tables manually:

-- Administration AbpPermissionGrants

--- Identity IdentityServerClients IdentityServerClientGrantTypes IdentityServerClientRedirectUris IdentityServerClientScopes
IdentityServerClientSecrets
IdentityServerApiResources
IdentityServerApiScopes IdentityServerApiResourceScopes

Error Log of AuthServer:

2021-04-01 09:36:20.082 +00:00 [INF] Request starting HTTP/2 GET https://localhost:44322/connect/authorize?response_type=code&client_id=EmployeeManagement_Swagger&redirect_uri=https%3A%2F%2Flocalhost%3A44353%2Fswagger%2Foauth2-redirect.html&scope=EmployeeManagement&state=VGh1IEFwciAwMSAyMDIxIDA5OjM2OjIwIEdNVCswMDAwIChHcmVlbndpY2ggTWVhbiBUaW1lKQ%3D%3D - -
2021-04-01 09:36:20.085 +00:00 [DBG] Request path /connect/authorize matched to endpoint type Authorize
2021-04-01 09:36:20.090 +00:00 [DBG] Endpoint enabled: Authorize, successfully created handler: IdentityServer4.Endpoints.AuthorizeEndpoint
2021-04-01 09:36:20.090 +00:00 [INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.AuthorizeEndpoint for /connect/authorize
2021-04-01 09:36:20.090 +00:00 [DBG] Start authorize request
2021-04-01 09:36:20.090 +00:00 [DBG] No user present in authorize request
2021-04-01 09:36:20.090 +00:00 [DBG] Start authorize request protocol validation
2021-04-01 09:36:20.111 +00:00 [DBG] client configuration validation for client EmployeeManagement_Swagger succeeded.
2021-04-01 09:36:20.111 +00:00 [DBG] Checking for PKCE parameters
2021-04-01 09:36:20.111 +00:00 [DBG] No PKCE used.
2021-04-01 09:36:20.118 +00:00 [ERR] Scope EmployeeManagement not found in store.
2021-04-01 09:36:20.119 +00:00 [ERR] Request validation failed
2021-04-01 09:36:20.119 +00:00 [INF] {"ClientId":"EmployeeManagement_Swagger","ClientName":"EmployeeManagement_Swagger","RedirectUri":"https://localhost:44353/swagger/oauth2-redirect.html","AllowedRedirectUris":["https://localhost:44353/swagger/oauth2-redirect.html"],"SubjectId":"anonymous","ResponseType":"code","ResponseMode":"query","GrantType":"authorization_code","RequestedScopes":"EmployeeManagement","State":"VGh1IEFwciAwMSAyMDIxIDA5OjM2OjIwIEdNVCswMDAwIChHcmVlbndpY2ggTWVhbiBUaW1lKQ==","UiLocales":null,"Nonce":null,"AuthenticationContextReferenceClasses":null,"DisplayMode":null,"PromptMode":"","MaxAge":null,"LoginHint":null,"SessionId":null,"Raw":{"response_type":"code","client_id":"EmployeeManagement_Swagger","redirect_uri":"https://localhost:44353/swagger/oauth2-redirect.html","scope":"EmployeeManagement","state":"VGh1IEFwciAwMSAyMDIxIDA5OjM2OjIwIEdNVCswMDAwIChHcmVlbndpY2ggTWVhbiBUaW1lKQ=="},"$type":"AuthorizeRequestValidationLog"}
2021-04-01 09:36:20.119 +00:00 [INF] {"ClientId":"EmployeeManagement_Swagger","ClientName":"EmployeeManagement_Swagger","RedirectUri":"https://localhost:44353/swagger/oauth2-redirect.html","Endpoint":"Authorize","SubjectId":null,"Scopes":"EmployeeManagement","GrantType":"authorization_code","Error":"invalid_scope","ErrorDescription":"Invalid scope","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"80000097-0003-fe00-b63f-84710c7967bb","TimeStamp":"2021-04-01T09:36:20.0000000Z","ProcessId":6140,"LocalIpAddress":"::1:44322","RemoteIpAddress":"::1","$type":"TokenIssuedFailureEvent"}
2021-04-01 09:36:20.122 +00:00 [INF] Request finished HTTP/2 GET https://localhost:44322/connect/authorize?response_type=code&client_id=EmployeeManagement_Swagger&redirect_uri=https%3A%2F%2Flocalhost%3A44353%2Fswagger%2Foauth2-redirect.html&scope=EmployeeManagement&state=VGh1IEFwciAwMSAyMDIxIDA5OjM2OjIwIEdNVCswMDAwIChHcmVlbndpY2ggTWVhbiBUaW1lKQ%3D%3D - - - 302 - - 39.8680ms
2021-04-01 09:36:20.125 +00:00 [INF] Request starting HTTP/2 GET https://localhost:44322/Account/Error?errorId=CfDJ8H3_8VQl9DVGvHcz5WCAiEQWAJKSQy0i9KFIrR00nkALGrm9bJ8tNvMA7yVSy0NKmGb0nYgX90iu2Zy4Ap7cRlQOFilDu9omDDXTOZDo1xJ3OOGUEieKG6ollU_-WjlEabOiigaRwQvTz6XqGZ6v3ruaqKg5bq8njmXgFHDhS00MJd2c3NqIUEYt7EtrPd_jLuOT0hfAaZmutWyO0EuSZ-iwQCKoR3mxBTfENx0jDfKqJ6OSW-Q504mhBH6G9zkpSOqc8g3wygtGcZEtyy7TBv46SrJ7oHbWbUZctzajvsPsI6rzueNx6EL99TdzclFuITzgF9QFuIu8P5u6LecTt9zB1jBbPOrXgWJa3fI0lIzY2ZpR6deiWSfiOOy1a4DlUMNOA8fZiD4ZuqoNogMhvnHbHw8DXoe4lXKoxcz_jR3gmyLZ4xsnbJv-bKilvt2UA8bCqAYMumvZjQaeJknFMYMP3aQ7rSiQtPDTxxaCItU73moYetv4A2xbgoDADoBOqJG-aBuUgC4o1r6GwK9BGrrcwKrRSmksD_5U5AcoW89afDYRKt7-_uerh8tpYVRHnkv14Op3diI9W20rHvoRicXFYXMlETVuChlNXqJb3i50tKyNX0auP3ObmPQMUF86LIw60MutmbZZdBOPOoMEpmE5mSgsYiNqZjsilgNUN19rZHylJwjWeq57ICtdbjQ7gQ - -
2021-04-01 09:36:20.128 +00:00 [INF] Executing endpoint 'Volo.Abp.Account.Web.Areas.Account.Controllers.ErrorController.Index (Volo.Abp.Account.Pro.Public.Web.IdentityServer)'
2021-04-01 09:36:20.129 +00:00 [INF] Route matched with {area = "account", action = "Index", controller = "Error", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Index(System.String) on controller Volo.Abp.Account.Web.Areas.Account.Controllers.ErrorController (Volo.Abp.Account.Pro.Public.Web.IdentityServer).
2021-04-01 09:36:20.131 +00:00 [INF] Executing ViewResult, running view ~/Views/Error/500.cshtml.
2021-04-01 09:36:20.170 +00:00 [DBG] Added bundle 'Lepton.Global' to the page in 7.48 ms.
2021-04-01 09:36:20.189 +00:00 [DBG] Added bundle 'Lepton.Global' to the page in 2.32 ms.
2021-04-01 09:36:20.190 +00:00 [INF] Executed ViewResult - view ~/Views/Error/500.cshtml executed in 58.9402ms.
2021-04-01 09:36:20.190 +00:00 [INF] Executed action Volo.Abp.Account.Web.Areas.Account.Controllers.ErrorController.Index (Volo.Abp.Account.Pro.Public.Web.IdentityServer) in 61.7587ms
2021-04-01 09:36:20.190 +00:00 [INF] Executed endpoint 'Volo.Abp.Account.Web.Areas.Account.Controllers.ErrorController.Index (Volo.Abp.Account.Pro.Public.Web.IdentityServer)'
2021-04-01 09:36:20.191 +00:00 [INF] Request finished HTTP/2 GET https://localhost:44322/Account/Error?errorId=CfDJ8H3_8VQl9DVGvHcz5WCAiEQWAJKSQy0i9KFIrR00nkALGrm9bJ8tNvMA7yVSy0NKmGb0nYgX90iu2Zy4Ap7cRlQOFilDu9omDDXTOZDo1xJ3OOGUEieKG6ollU_-WjlEabOiigaRwQvTz6XqGZ6v3ruaqKg5bq8njmXgFHDhS00MJd2c3NqIUEYt7EtrPd_jLuOT0hfAaZmutWyO0EuSZ-iwQCKoR3mxBTfENx0jDfKqJ6OSW-Q504mhBH6G9zkpSOqc8g3wygtGcZEtyy7TBv46SrJ7oHbWbUZctzajvsPsI6rzueNx6EL99TdzclFuITzgF9QFuIu8P5u6LecTt9zB1jBbPOrXgWJa3fI0lIzY2ZpR6deiWSfiOOy1a4DlUMNOA8fZiD4ZuqoNogMhvnHbHw8DXoe4lXKoxcz_jR3gmyLZ4xsnbJv-bKilvt2UA8bCqAYMumvZjQaeJknFMYMP3aQ7rSiQtPDTxxaCItU73moYetv4A2xbgoDADoBOqJG-aBuUgC4o1r6GwK9BGrrcwKrRSmksD_5U5AcoW89afDYRKt7-_uerh8tpYVRHnkv14Op3diI9W20rHvoRicXFYXMlETVuChlNXqJb3i50tKyNX0auP3ObmPQMUF86LIw60MutmbZZdBOPOoMEpmE5mSgsYiNqZjsilgNUN19rZHylJwjWeq57ICtdbjQ7gQ - - - 200 - text/html;+charset=utf-8 65.8096ms
2021-04-01 09:36:20.235 +00:00 [INF] Request starting HTTP/2 GET https://localhost:44322/Abp/ServiceProxyScript - -
2021-04-01 09:36:20.241 +00:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)'
2021-04-01 09:36:20.241 +00:00 [INF] Route matched with {area = "Abp", action = "GetAll", controller = "AbpServiceProxyScript", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult GetAll(Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel) on controller Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController (Volo.Abp.AspNetCore.Mvc).
2021-04-01 09:36:20.243 +00:00 [INF] Request starting HTTP/2 GET https://localhost:44322/Abp/ApplicationConfigurationScript - -
2021-04-01 09:36:20.245 +00:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript
2021-04-01 09:36:20.246 +00:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 4.902ms
2021-04-01 09:36:20.246 +00:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)'
2021-04-01 09:36:20.247 +00:00 [INF] Request finished HTTP/2 GET https://localhost:44322/Abp/ServiceProxyScript - - - 200 31490 application/javascript 12.0188ms
2021-04-01 09:36:20.247 +00:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)'
2021-04-01 09:36:20.248 +00:00 [INF] Route matched with {area = "Abp", action = "Get", controller = "AbpApplicationConfigurationScript", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Get() on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController (Volo.Abp.AspNetCore.Mvc).
2021-04-01 09:36:20.252 +00:00 [DBG] Executing AbpApplicationConfigurationAppService.GetAsync()...
2021-04-01 09:36:20.464 +00:00 [DBG] Executed AbpApplicationConfigurationAppService.GetAsync().
2021-04-01 09:36:20.487 +00:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript
2021-04-01 09:36:20.489 +00:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) in 241.4998ms
2021-04-01 09:36:20.489 +00:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)'
2021-04-01 09:36:20.491 +00:00 [INF] Request finished HTTP/2 GET https://localhost:44322/Abp/ApplicationConfigurationScript - - - 200 98922 application/javascript 248.7186ms

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Microservice Template
  • Exception message and stack trace:
  • Steps to reproduce the issue:

We Would like to Extend the Organization Structure object with additional fileds, I know we have follow https://docs.abp.io/en/abp/latest/Module-Entity-Extensions , but I dont find a way for MicroService tempalte. Also we would like to use the updated object as Navigation Property for Another Entity (Similar to https://community.abp.io/articles/abp-suite-how-to-add-the-user-entity-as-a-navigation-property-of-another-entity-furp75ex).

You you please help us in doing the above things as part of MicroService template with AngularUI

71 kayıttan 61 ile 70 arası gösteriliyor.
Made with ❤️ on ABP v8.3.0-preview Updated on Mayıs 30, 2024, 12:05