Hello, I am creating a project using ABP Suite. I choose Lepton theme as the theme. After the project is created, when I add the Lepton theme to the project from the modules tab, the project is full of errors in Visual Studio. The resulting error messages are as follows: "Projects that use central package version management should not define the version on the PackageReference items but on the PackageVersion items: PackageId." It doesn't matter MVC or Blazor, the result is still the same.
Hello there, I want to update my application that I developed via abp suite from 7.4.2 to 7.4.3. I ran abp cli update and abp suite update codes successfully. but then when I click Update all ABP packages, I get the error "An internal error occurred during your request!". when I look at the log record, I see the following lines.
2023-12-13 10:14:33.064 +03:00 [ERR] One or more errors occurred. (StartIndex cannot be less than zero. (Parameter 'startIndex')) (StartIndex cannot be less than zero. (Parameter 'startIndex')) System.AggregateException: One or more errors occurred. (StartIndex cannot be less than zero. (Parameter 'startIndex')) (StartIndex cannot be less than zero. (Parameter 'startIndex')) ---> System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. (Parameter 'startIndex') at System.String.ThrowSubstringArgumentOutOfRange(Int32 startIndex, Int32 length) at System.String.Substring(Int32 startIndex, Int32 length) at Volo.Abp.Cli.ProjectModification.NpmPackagesUpdater.ExtractVersions(String output) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\NpmPackagesUpdater.cs:line 357 at Volo.Abp.Cli.ProjectModification.NpmPackagesUpdater.GetPackageVersionList(JProperty package, String workingDirectory) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\NpmPackagesUpdater.cs:line 348 at Volo.Abp.Cli.ProjectModification.NpmPackagesUpdater.GetLatestVersion(JProperty package, Boolean includeReleaseCandidates, Boolean includePreviews, String workingDirectory) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\NpmPackagesUpdater.cs:line 274 at Volo.Abp.Cli.ProjectModification.NpmPackagesUpdater.TryUpdatingPackage(String filePath, JProperty package, Boolean includePreviews, Boolean includeReleaseCandidates, Boolean switchToStable, String specifiedVersion) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\NpmPackagesUpdater.cs:line 238 at Volo.Abp.Cli.ProjectModification.NpmPackagesUpdater.UpdatePackagesInFile(String filePath, Boolean includePreviews, Boolean includeReleaseCandidates, Boolean switchToStable, String specifiedVersion) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\NpmPackagesUpdater.cs:line 179 at Volo.Abp.Cli.ProjectModification.NpmPackagesUpdater.<>c__DisplayClass18_0.<<Update>g__UpdateAsync|0>d.MoveNext() in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\NpmPackagesUpdater.cs:line 83 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(Task[] tasks) at Volo.Abp.Cli.ProjectModification.NpmPackagesUpdater.Update(String rootDirectory, Boolean includePreviews, Boolean includeReleaseCandidates, Boolean switchToStable, String version) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\NpmPackagesUpdater.cs:line 89 at Volo.Abp.Cli.Commands.UpdateCommand.UpdateNpmPackages(String directory, String version) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\UpdateCommand.cs:line 55 at Volo.Abp.Cli.Commands.UpdateCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\UpdateCommand.cs:line 49 at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Services.SolutionService.UpdatePackagesInSolutionAsync(String solutionPath, Boolean npm, Boolean nuget) at Volo.Abp.Suite.Controllers.AbpSuiteController.UpdatePackagesInSolution(String solutionPath, Boolean npm, Boolean nuget) at lambda_method1991(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, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.
I developed a project with Blazor Tiered version. After a user logs in to the system, I want to terminate the first session when the same user logs in from another browser. how can I do that.
I have a page where products are managed. I need to add a picture of the product. I want to use the File management module on the product edit page. I want to select the image of the product through the file management module, is this possible?
Hello, I created a blazor server project using abp suite. To start with, I created only one entity. When I add, a log record is created, but when I update, no log record is created. Do I need to make any adjustments?
I want to add property with foreign key from another table for "User" with "Object Extension Manager".
user.AddOrUpdateProperty<Guid?>("EgitimKonuGrupId", property => { property.UI.Lookup.Url = "/api/departments"; property.UI.Lookup.DisplayPropertyName = "ad"; });
controller:
[Route("api/departments")] public class DepartmentController : AbpController { [HttpGet] public async Task<ListResultDto<EgitimKonuGrupDto>> GetAsync() { return new ListResultDto<EgitimKonuGrupDto>( new[] { new EgitimKonuGrupDto { Id = Guid.Parse("EEB064A5-F160-8A02-ADC2-3A0A1B5D1230"), Ad = "Human Resources" }, new EgitimKonuGrupDto { Id = Guid.Parse("41312C2A-1169-BBBF-256A-3A0A1B5D2A09"), Ad= "Production" } } ); } }
In the user edit screen, I select from the drop-down list and save. correctly saves to the database. but when I open it for editing again, the data I selected does not come as selected.
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.
If you're creating a bug/problem report, please include followings:
I am adding the chat module.
I enable chat in settings. but its not working.!
ABP Framework version: v7.0.0
UI type: Blazor Server
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): no
Exception message and stack trace:
[ERR] Unhandled exception in circuit 'xOJ0LHCyhNfGn_bQkboi-K3dVkL2K4jcqtZIBS69K9U'.
System.InvalidOperationException: Cannot provide a value for property 'ContactAppService' on type 'Volo.Chat.Blazor.Server.Components.BlazorServerMessagesToolbarItem'. There is no registered service of type 'Volo.Chat.Users.IContactAppService'.
at Microsoft.AspNetCore.Components.ComponentFactory.<>c__DisplayClass7_0.<CreateInitializer>g__Initialize|1(IServiceProvider serviceProvider, IComponent component)
at Microsoft.AspNetCore.Components.ComponentFactory.PerformPropertyInjection(IServiceProvider serviceProvider, IComponent instance)
at Microsoft.AspNetCore.Components.ComponentFactory.InstantiateComponent(IServiceProvider serviceProvider, Type componentType)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.InstantiateChildComponentOnFrame(RenderTreeFrame& frame, Int32 parentComponentId)
at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InitializeNewComponentFrame(DiffContext& diffContext, Int32 frameIndex)
at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InitializeNewSubtree(DiffContext& diffContext, Int32 frameIndex)
at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InsertNewFrame(DiffContext& diffContext, Int32 newFrameIndex)
at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.AppendDiffEntriesForRange(DiffContext& diffContext, Int32 oldStartIndex, Int32 oldEndIndexExcl, Int32 newStartIndex, Int32 newEndIndexExcl)
at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.ComputeDiff(Renderer renderer, RenderBatchBuilder batchBuilder, Int32 componentId, ArrayRange1 oldTree, ArrayRange
1 newTree)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue()
Steps to reproduce the issue:"
Merhabalar,
abp suite kullanarak blazor server projesi oluşturuyorum.
chat modülünü ekliyorum.
ayarlardan sohbeti etkinleştiriyorum.
bu işlemden sonra uygulama çalıştıktan sonra uygulama hiçbir yere tıklayamıyorum. her yer çalışmaz hale geliyor. Logs/logs.txt dosyasında ki son kayıtları yukarda ekledim.
acaba ne yapmam gerekiyor?
translate : Hello,
I am creating a blazor server project using abp suite.
I am adding the chat module.
I enable chat in settings.
after this process after the application runs, the application cannot click anywhere. everywhere is inoperable. I added the last logs in the logs/logs.txt file above.
what should i do?