Activities of "alessio.gogna@flybotix.com"

Ok. So, if I correctly get it, for the time being, the only source code supported by abp get-source is modules. For specific packages like @volo/abp.commercial.ng.ui, the only option is to add packages with source. Is it correct?

Hi. Using abp get-source I downloaded all the source code from those modules (from abp list-modules --include-pro-modules): ` Open Source Application Modules

Documents (Admin) (Volo.Docs.Admin) Tenant Management (Volo.TenantManagement) Audit Logging (Volo.AuditLogging) Setting Management (Volo.SettingManagement) Feature Management (Volo.FeatureManagement) Identity Server (Volo.IdentityServer) Permission Management (Volo.PermissionManagement) Identity (Volo.Identity) Users (Volo.Users) Background Jobs (Volo.BackgroundJobs) Account (Volo.Account) Lepton X Lite (Volo.Abp.LeptonXTheme.Lite) Docs (Volo.Docs) BLOB Storing Database Storage Provider (Volo.Abp.BlobStoring.Database) Basic Theme (Volo.BasicTheme) CMS Kit (Volo.CmsKit) Virtual File Explorer (Volo.VirtualFileExplorer) Blogging (Volo.Blogging) OpenIddict (Volo.OpenIddict)

Commercial (Pro) Application Modules

Lepton Theme (Volo.LeptonTheme) Identity (Volo.Identity.Pro) Forms (Volo.Forms) Twilio SMS (Volo.Abp.Sms.Twilio) Lepton X Pro (Volo.Abp.LeptonXTheme.Pro) Language Management (Volo.LanguageManagement) Payment (Volo.Payment) CMS Kit (Volo.CmsKit.Pro) Identity Server UI (Volo.Identityserver.Ui) OpenIddict UI (Volo.OpenIddict.Pro) Text Template Management (Volo.TextTemplateManagement) SaaS (Volo.Saas) Account (Volo.Account.Pro) Audit Logging (Volo.AuditLogging.Ui) GDPR (Volo.Gdpr) Chat (Volo.Chat) File Management (Volo.FileManagement) `

But none contains the source code of @volo/abp.commercial.ng.ui angular package.

Additionally, abp get-source Volo.Docs.Admin -o Volo.Docs.Admin -v 7.2.3 failed due to:

ABP CLI 7.2.3 Downloading source code of Volo.Docs.Admin (v7.2.3) Output folder: C:\Dev\abp.sources\Volo.Docs.Admin Downloading module: Volo.Docs.Admin, version: 7.2.3 Error occured while downloading source-code from https://abp.io/api/download/module/ : StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers: { Date: Wed, 02 Aug 2023 08:51:29 GMT Transfer-Encoding: chunked Connection: keep-alive Cache-Control: no-cache,no-store Pragma: no-cache Set-Cookie: .AspNetCore.Antiforgery.-6OvtTX3HwI=CfDJ8FwlyK6gBQtDks_tINvwLxMEs_aP40JHZqDiB2LOkQNO_cxHXWMXNqfFVTmm_xOtfnLFz_mVk_dqxwCRHsKkvN2I7y1hsifqSDubSFBYMdJDRhkPDrl8j4uRoBvc4E_fnrJAUl4NIUfoGiI298_xCk4; path=/; samesite=strict; httponly Set-Cookie: XSRF-TOKEN=CfDJ8FwlyK6gBQtDks_tINvwLxMV7BQtcXxjvWjRqn9tnb-reNNUFRxEvvGreC5f1kzSk9il9f4uXK8gdAhG7iz7BlXGNb9HWx9P2r2_XyhmjLY1X88wZKMjuEe647J3o3mMXGTpOBNAGrTyZ2UCcdkvHsEo5sczzdi4wKY7X1iE766nIqP0GpTJozQkFsuPDxzJiA; expires=Sat, 30 Jul 2033 08:51:29 GMT; path=/; secure; samesite=none Vary: Accept-Encoding Strict-Transport-Security: max-age=15724800; includeSubDomains X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block X-Frame-Options: SAMEORIGIN x-correlation-id: e86bb8f289cf4cc182af80360844b24d CF-Cache-Status: DYNAMIC Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=2FqvYWduhngpR1piVq%2BlK0xEEb57SrGjGc28ngICQph%2BexGwyUhMQb9Wu%2BcdjDAXSQuLWwhuTxkUleiYzQ2E4GBNxKomSWS2am%2BT38fkt0%2FX8jLcSwFinA%3D%3D"}],"group":"cf-nel","max_age":604800} NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800} Server: cloudflare CF-RAY: 7f05144b7947ce93-GVA Content-Type: text/html; charset=utf-8 Expires: -1 } '<' is an invalid start of a value. Path: $ | LineNumber: 1 | BytePositionInLine: 0. '<' is an invalid start of a value. Path: $ | LineNumber: 1 | BytePositionInLine: 0. System.Text.Json.JsonException: '<' is an invalid start of a value. Path: $ | LineNumber: 1 | BytePositionInLine: 0. ---> System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 1 | BytePositionInLine: 0. at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan1 bytes) at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker) at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first) at System.Text.Json.Utf8JsonReader.ReadSingleSegment() at System.Text.Json.Utf8JsonReader.Read() at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state) --- End of inner exception stack trace --- at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex) at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state) at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable1 actualByteCount) at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 json, JsonTypeInfo jsonTypeInfo) at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options) at Volo.Abp.Json.SystemTextJson.AbpSystemTextJsonSerializer.Deserialize[T](String jsonString, Boolean camelCase) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Json.SystemTextJson\Volo\Abp\Json\SystemTextJson\AbpSystemTextJsonSerializer.cs:line 25 at Volo.Abp.Cli.ProjectBuilding.RemoteServiceExceptionHandler.GetAbpRemoteServiceErrorAsync(HttpResponseMessage responseMessage) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\RemoteServiceExceptionHandler.cs:line 52 at Volo.Abp.Cli.ProjectBuilding.RemoteServiceExceptionHandler.EnsureSuccessfulHttpResponseAsync(HttpResponseMessage responseMessage) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\RemoteServiceExceptionHandler.cs:line 38 at Volo.Abp.Cli.ProjectBuilding.AbpIoSourceCodeStore.DownloadSourceCodeContentAsync(SourceCodeDownloadInputDto input) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\AbpIoSourceCodeStore.cs:line 256 at Volo.Abp.Cli.ProjectBuilding.AbpIoSourceCodeStore.GetAsync(String name, String type, String version, String templateSource, Boolean includePreReleases) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\AbpIoSourceCodeStore.cs:line 122 at Volo.Abp.Cli.ProjectBuilding.ModuleProjectBuilder.BuildAsync(ProjectBuildArgs args) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\ModuleProjectBuilder.cs:line 48 at Volo.Abp.Cli.Commands.Services.SourceCodeDownloadService.DownloadModuleAsync(String moduleName, String outputFolder, String version, String gitHubAbpLocalRepositoryPath, String gitHubVoloLocalRepositoryPath, AbpCommandLineOptions options) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\Services\SourceCodeDownloadService.cs:line 39 at Volo.Abp.Cli.Commands.GetSourceCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\GetSourceCommand.cs:line 59 at Volo.Abp.Cli.CliService.RunInternalAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 169 at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 77

Hi, can you provide instructions about how to download the source code for @volo/abp.commercial.ng.ui and other libs not available using get-source?

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: > 7.x.x
  • UI type: Angular

I updated to version 7.0.2, and the problem is solved. Thanks

  • ABP Framework version: v7.0.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: Exception of type 'Volo.Abp.Authorization.AbpAuthorizationException' was thrown. Volo.Abp.Authorization.AbpAuthorizationException: Exception of type 'Volo.Abp.Authorization.AbpAuthorizationException' was thrown. at Volo.Abp.Gdpr.GdprRequestAppService.GetUserDataAsync(Guid id, String token) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Authorization.AuthorizationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope) at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Volo.Abp.Gdpr.GdprRequestController.GetUserDataAsync(Guid requestId, String token) at lambda_method5697(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  • Steps to reproduce the issue: Go to Personal Data -> If you don't have a Personal Data package listed, Request one -> Click on Download -> 403

From the source code, I see that the GdprRequestAppService.GetUserDataAsync requires the id of the request and a token. I see that the token is generated and cached in GetDownloadTokenAsync

In the angular module, GdprActionColumnComponent doesn't provide any token in the request, and there is no definition for GetDownloadTokenAsync in the proxy.

Any suggestion on how can I patch it, waiting for the official fix?

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