0
jeffbuot created
- ABP Framework version: v5.3.2
- UI type: Blazor
- Project type: Abp Microservice Template
- DB provider: MongoDB
- Steps to reproduce the issue: https://www.screencast.com/t/WoXNKgBLfn
Hi,
I have attached a link for screencast recording to reproduce the issue. It's weird why updating the Product entity the other properties becomes null. Can anyone explain why it behaves this way and how can I resolve this issue?
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
7 Answer(s)
-
0
Hi,
Can you share the
ProductControllerclass code?Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Sure, it's just the one from the template it wasn't modified.
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Volo.Abp; using Volo.Abp.Application.Dtos; namespace CMVPoint.ProductService.Products; [RemoteService(Name = ProductServiceRemoteServiceConsts.RemoteServiceName)] [Area("productService")] [Route("api/product-service/products")] public class ProductController : ProductServiceController, IProductAppService { private readonly IProductAppService _productAppService; public ProductController(IProductAppService productAppService) { _productAppService = productAppService; } [HttpGet] public virtual Task<PagedResultDto<ProductDto>> GetListAsync(GetProductsInput input) { return _productAppService.GetListAsync(input); } [HttpGet] [Route("{id}")] public virtual Task<ProductDto> GetAsync(Guid id) { return _productAppService.GetAsync(id); } [HttpPost] public virtual Task<ProductDto> CreateAsync(ProductCreateDto input) { return _productAppService.CreateAsync(input); } [HttpPut] [Route("{id}")] public virtual Task<ProductDto> UpdateAsync(Guid id, ProductUpdateDto input) { return _productAppService.UpdateAsync(id, input); } [HttpDelete] [Route("{id}")] public virtual Task DeleteAsync(Guid id) { return _productAppService.DeleteAsync(id); } }Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
It looks like no problem, Can you share a project with me or full steps to reproduce? shiwei.liang@volosoft.com I will check it out.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
It looks like no problem, Can you share a project with me or full steps to reproduce? shiwei.liang@volosoft.com I will check it out.
I invited you to a private github repository.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
Got it, checking.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
