Reported by safak.bal (https://support.abp.io/QA/Questions/425#answer-5ae35e49-16db-db95-4fff-39f81aa8ea2c)
after migration to v3.2 when your browser default language is turkish, application is opening in turkish language selection even if the default language is english
and also when it comes with turkish culture, after you log in datepickers are not workinf properly and console logs this error. "ERROR Error: Uncaught (in promise): Error: InvalidPipeArgument: 'Missing locale data for the locale "tr".' for pipe 't'" but if you click "English" and then click "Türkçe" again it works correctly.
I created a demo , http://9d7c0e1ede1ff59d.demo.commercial.abp.io/dashboard , and the error occurs there also.
profile picture issue has been resolved in v3.2.1
your credit has been refunded.
I'm trying to find a quick solution as there's no support for streaming from application service. The issue must be solved in the framework. You can track this issue https://github.com/abpframework/abp/issues/5727
hi ricardo,
let's go step by step, if you are changing the database provider, you need to delete all existing migrations and add the migrations for your database provider. see this https://docs.abp.io/en/abp/latest/Entity-Framework-Core-Other-DBMS
see this https://stackoverflow.com/a/42460443/1767482
also application services shouldn't use IFormFile or Stream, use byte[]
for files in your application services.
also see this code, this is used to upload a file which is written in a controller
[RemoteService(Name = FileManagementRemoteServiceConsts.RemoteServiceName)]
[Area("fileManagement")]
[ControllerName("FileDescriptors")]
[Route("api/file-management/file-descriptor")]
[Authorize(FileManagementPermissions.FileDescriptor.Default)]
public class FileDescriptorController : AbpController, IFileDescriptorAppService
{
[HttpPost]
[Route("upload")]
[Authorize(FileManagementPermissions.FileDescriptor.Create)]
[ApiExplorerSettings(IgnoreApi = true)]
public virtual async Task<IActionResult> UploadAsync(Guid? directoryId, IFormFile file)
{
if (file == null)
{
return BadRequest();
}
using (var memoryStream = new MemoryStream())
{
await file.CopyToAsync(memoryStream);
var fileDescriptor = await FileDescriptorAppService.CreateAsync(
new CreateFileInput
{
Name = file.FileName,
MimeType = file.ContentType,
DirectoryId = directoryId,
Content = memoryStream.ToArray()
}
);
return StatusCode(201, fileDescriptor);
}
}
}
maybe this works for you https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Http/CliHttpClient.cs
This is the code that ABP CLI tool authenticates to the abp.io which is made on top of ABP Framework.
not everyone is dealing with raw access to streams. but there's nothing that prevents you to create a new controller and transfer raw streams. by the way I've created an internal issue for this topic. the framework team will make these enhancements.