96 Answer(s)
-
0
ABP Framework version: v4.4.0 UI type: Blazor DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no Exception message and stack trace: no Steps to reproduce the issue: ABP Suite create user interface entity/aggregateroot, missing ValidateAll() invocation. https://github.com/abpframework/abp/pull/7598/files
Workaround: Edit Template Frontend.Blazor.Page.Item.razor_cs.txt
private async Task Create%%entity-name%%Async() { if(New%%entity-name%%Validations.ValidateAll()) { await %%entity-name-plural%%AppService.CreateAsync(New%%entity-name%%); await Get%%entity-name-plural%%Async(); Create%%entity-name%%Modal.Hide(); } }
private async Task Update%%entity-name%%Async() { if(Editing%%entity-name%%Validations.ValidateAll()) { await %%entity-name-plural%%AppService.UpdateAsync(Editing%%entity-name%%Id, Editing%%entity-name%%); await Get%%entity-name-plural%%Async(); Edit%%entity-name%%Modal.Hide(); } }
This is requided because SubmitButton -> PreventDefaultOnSubmit="true" doesn't work as expected
-
0
- ABP Framework version: v4.4.0-rc.2
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
I added source code for Lepton Theme, it results in set of errors in my .Net Core solution.
If I download the source code separately and add missing project manually, the ABP Suite stops working - when I navigate to "Modules" page for this project, it gets stuck on loading screen.
hi dkaczor
We will fix this in 4.4 final. It plan released on 1 August.
I upgraded to 4.4 final, added the source code by abp suite and I still cannot build my solution. I get less errors though.
-
0
hi dkaczor
Can you check the
csproj
file exists?If so, You can run
dotnet build /graphbuild
-
0
ABP Framework version: v4.4.0
UI type:Blazor Server
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): no
Exception message and stack trace: 2021-08-11 10:03:34.108 +02:00 [ERR] Could not found remote action for method: System.Threading.Tasks.Task
1[Volo.Abp.Application.Dtos.PagedResultDto
1[Kantan.FS.QuestionnairePreCheck.QuestionPreCheckDto]] GetListAsync(Kantan.FS.QuestionnairePreCheck.GetQuestionsPreCheckInput) on the URL: https://localhost:44316/ Volo.Abp.AbpException: Could not found remote action for method: System.Threading.Tasks.Task1[Volo.Abp.Application.Dtos.PagedResultDto
1[Kantan.FS.QuestionnairePreCheck.QuestionPreCheckDto]] GetListAsync(Kantan.FS.QuestionnairePreCheck.GetQuestionsPreCheckInput) on the URL: https://localhost:44316/ at Volo.Abp.Http.Client.DynamicProxying.ApiDescriptionFinder.FindActionAsync(HttpClient client, String baseUrl, Type serviceType, MethodInfo method) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.MakeRequestAsync(IAbpMethodInvocation invocation) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor
1.MakeRequestAndGetResultAsync[T](IAbpMethodInvocation invocation) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.GetResultAsync(Task task, Type resultType) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor
1.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 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.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed) at lambda_method2442(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Steps to reproduce the issue: Have a matching controller for an appservice and set the RemoteService(IsEnabled = false) attribute on the appservice
After upgradeing to ABP 4.4 a crud page returns the exception above
For this crud page there is a controller and an appservice. The appservice is hidden with the [RemoteService(IsEnabled = false)] attribute, which causes that the appservice is not visible for the outside world, the connection is made through the controller. However, in ABP 4.4 controllers are not found anymore on the host side (see the attached swagger screenshots of the host voor v4.3 and v4.4). This causes the exception.
We have several instances where we require a seperate controller and did not want both controller and appservice to be visible at the same time on the host. Following is some stripped code from v4.3 for the appservice and the controller. Is this method (using the remoteservice attribute) still supported? Why are controllers not visible anymore on the host side?
AppService:
[RemoteService(IsEnabled = false)] public class QuestionPreCheckAppService : ApplicationService, IQuestionPreCheckAppService { public virtual async Task<PagedResultDto
Controller:
[RemoteService] [Area("fs")] [ControllerName("QuestionPreCheck")] [Route("api/fs/questionPreCheck")] public class QuestionPreCheckController : AbpController, IQuestionPreCheckAppService { private readonly IQuestionPreCheckAppService _questionAppService;
public QuestionPreCheckController(IQuestionPreCheckAppService questionAppService) { _questionAppService = questionAppService; } [HttpGet] [Route("GetList")] public virtual Task<PagedResultDto<QuestionPreCheckDto>> GetListAsync(GetQuestionsPreCheckInput input) { return _questionAppService.GetListAsync(input); }
}
-
0
I am trying to doenload source code from abp suite version 4.4.0 and i am getting the following error
'<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
infact when i try and download the source for any other module i get the above error
can you please help ?
-
0
ABP Framework version: v4.4.0 UI type: Blazor DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no Exception message and stack trace: no Steps to reproduce the issue: ABP Suite create entity/aggregateroot with required navitagion properties, in generated class is missing NotNull attribute in property, it isn't added as constructor parameter and then not included in tests data seed
-
0
Here are two Blazorise GitHub issues that throw this error
Unhandled exception rendering component: Could not find 'blazorise.tooltip.updateContent'
It gets fixed after re-running the bundling tool
Allthought the bunding tool now leves the following warning
"Unable to minify the file: AuthenticationService.js. Adding file to the bundle without minification."
-
0
-
0
Hi @dkaczor,
You can run
abp get-source Volo.LeptonTheme
command to download full source code of Lepton Theme, and then copy the missing project to Lepton Theme folder in your solution.We'll fix this issue in next patch.
-
0
Several bugs when switch from Angular to Account MVC views, should I create a ticket for them? Because of this I don't think I can upgrade the production...
- ABP Framework version: v4.4
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace:
- Steps to reproduce the issue:"
NOTE: I created a ticket https://support.abp.io/QA/Questions/1718/Bugs-when-switch-between-Angular-and-Account-MVC-view
All have been tested with a new Solution V4.4:
1- From login view and press cancel I reach the address http://localhost:4200/?error=access_denied and it doesn't looks good. UPDATE:It looks bad on Firefox but looks OK in Chrome.
2- When login, I want to logout, if I do not use english language (I tried Finnish, French and Italian), I get stuck on this view, plus the text on the button is missing:
English ok, I have text on the button then I reach the home page
Other languages, text in button is missing and it stay on this page
-
0
I noticed (in Blazor) that the Administration side menu is missing for logged in tenant but I can still access the items, so not permission issue. I created a issue for this with more details https://support.abp.io/QA/Questions/1713/Administration-menu-missing-after-update-to-440
-
0
After publishing my project to iis seems some java script and css files are not published since after log in, I can't see dashboard etc, I can't go past dashboard. yet on postman api works fine. it's an UI issue.
-
0
When can we expect the next patch release?
-
0
Suite can't be used because it doesn't find xPermissions.cs or xPermissionDefinitionProvider.cs if they have been (like I had to do) moved to another project/place.
So at the moment I just can't use Suite at all to add properties/entities and I have to do it manually.
-
0
We recently updated to 4.4.0 and now when we login with admin accounts the
/identity/users
page is showing an empty list and the console is giving property errors. Does anyone know if this has been reported already or a fix?Edit: Pasting in error message for text based searching
core.js:5980 ERROR TypeError: Cannot add property _userName, object is not extensible at abp-ng.theme.shared-extensions.js:1331 at EntityPropList.forEach (abp-utils.js:259) at abp-ng.theme.shared-extensions.js:1329 at Array.map (<anonymous>) at ExtensibleTableComponent.ngOnChanges (abp-ng.theme.shared-extensions.js:1328) at ExtensibleTableComponent.rememberChangeHistoryAndInvokeOnChangesHook (core.js:1471) at callHook (core.js:2490) at callHooks (core.js:2457) at executeCheckHooks (core.js:2389) at refreshView (core.js:9201) core.js:5980 ERROR TypeError: Cannot read property 'visible' of undefined at ExtensibleTableComponent_ng_container_2_ng_template_3_ng_container_0_Template (abp-ng.theme.shared-extensions.js:325) at executeTemplate (core.js:9323) at refreshView (core.js:9192) at refreshEmbeddedViews (core.js:10312) at refreshView (core.js:9216) at refreshEmbeddedViews (core.js:10312) at refreshView (core.js:9216) at refreshEmbeddedViews (core.js:10312) at refreshView (core.js:9216) at refreshComponent (core.js:10358) ```
-
1
I do have the same issue actually, but did not get around investigating it yet, as I'm waiting for something else to be fixed first.
-
0
Cannot add property _userName, object is not extensible
Hello,
The error seems to be related to this
Our extensible table adds some properties to the records of the table.
Do you call
preventExtensions
on the data? -
0
ABP SUITE GENERATE ENTITY BUG
ABP Suite, Blazor Server Project, error on SaveAndGenerate entity AFTER having published once. Seems to be looking for a {ProjectName}WEBAutoMapperProfile.cs file that does not exist , see file attached. This file isn't even called {ProjectName}WebAutoMapperProfile.cs in a Blazor project, it is {ProjectName}AutoMapperProfile.cs . In either case, the file does not exist in the location and this fails every time.
Steps To Reproduce:
- Using ABP Suite, create New Blazor Server Project
- PUBLISH the project ( anywhere )
- Create a new entity, SaveAndGenerate
Also I am still waiting on a patch for the other ABP Suite Blazor Server Code Gen bug I reported 1 week ago:
Blazor Server & ABP Suite Code Gen Issue #1721
#1721 is still unfixed, though there is a workaround. For this issue there is no workaround that I can see, I tried renaming the AutoMapperProfile.cs file and adding it to the location but that didn't work.
These are 2 SERIOUS BLOCKERS for me and any other Commercial customer using Blazor Server. I can not continue working on my current project as I have ~50 entities to generate. Can we please get a patch ASAP?
Thanks,
Karim
-
0
Cannot add property _userName, object is not extensible
Hello,
The error seems to be related to this
Our extensible table adds some properties to the records of the table.
Do you call
preventExtensions
on the data?We are not calling
preventExtensions
anywhere in our code -
0
Hello,
After installing latest version (4.4.1) abp suite is generating my project with 5.0.0 packages.
ABP cli: 4.4.1 ABP suite: 4.4.1
Reinstalling CLI and suite is not helping, installing older version of CLI and suite is not helping also. If I try and switch to stable packages nothing happens (it stay on 5.0.0)
-
0
- ABP Framework version: v4.4.2
- UI type: Blazor
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace: no
- Steps to reproduce the issue:" AbpSuite "+Add Property" no "Guid" type available for reference AggregateRoot as you suggest in ebook at page 35 "Aggregate / Aggregate Root Rules & Best Practices"
-
0
I using ILookupApiRequestService to call abp api without dynamicsystem (i have some reasons).
I using module template to start project with Blazor.Server.Host (unified)
But line 58 not throw error, because of that its not add headers or cookie to authenticate
https://github.com/abpframework/abp/blob/6253849bc59c0158e77237bb3652ae0585fe110e/framework/src/Volo.Abp.AspNetCore.Components.Server/Volo/Abp/AspNetCore/Components/Server/Extensibility/BlazorServerLookupApiRequestService.cs
-
0
ABP Framework version: v4.4.0 UI type: Blazor DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no Exception message and stack trace: no Steps to reproduce the issue: create solution with ABP Suite, Linked Account work only in "my profile" page
Expected: Linked Account modal work in all pages like demo
Still present in 4.4.2
-
0
ABP Framework version: v4.4.2 UI type: Blazor DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no
Exception message and stack trace: The project name is invalid! Please specify a different name. Volo.Abp.Cli.CliUsageException: The project name is invalid! Please specify a different name.
Steps to reproduce the issue:
It seems like it is impossible to create a new project/SLN in ABP Suite that contains/ends with "Blazor", like "TestProjectBlazor". Generating the project online with the same name and then open it in ABP Suite seem to work though. No problem creating something like "TestProjectAngular".
- at Volo.Abp.Cli.Commands.NewCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-commercial-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\NewCommand.cs:line 66 at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Services.SolutionService.CreateSolutionAsync(CreateSolutionModel input) at lambda_method2438(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.
-
0
ABP Framework version: v4.4.2 UI type: Blazor DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no
Exception message and stack trace: The project name is invalid! Please specify a different name. Volo.Abp.Cli.CliUsageException: The project name is invalid! Please specify a different name.
Steps to reproduce the issue:
It seems like it is impossible to create a new project/SLN in ABP Suite that contains/ends with "Blazor", like "TestProjectBlazor". Generating the project online with the same name and then open it in ABP Suite seem to work though. No problem creating something like "TestProjectAngular".
- at Volo.Abp.Cli.Commands.NewCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-commercial-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\NewCommand.cs:line 66 at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Services.SolutionService.CreateSolutionAsync(CreateSolutionModel input) at lambda_method2438(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.
I ran into this also and created a ticket : https://support.abp.io/QA/Questions/1706/Error-Project-Name-is-Invalid-when-creating-a-Blazor-Server-project-using-Suite
there is an open issue for this, but for now you can not use 'Blazor' in the project name.
https://github.com/abpframework/abp/issues/9853