Problem is we can't use the IFileForm in our ApplicationService
hi
Use IRemoteStreamContent
in app service.
https://docs.abp.io/en/abp/latest/Application-Services#working-with-streams
Please try to override the SaveFileDescriptorAsync
of Volo.FileManagement.Files.FileManager service
protected override async Task<FileDescriptor> SaveFileDescriptorAsync(string name, string mimeType, int contentLength, Guid? directoryId, Guid? tenantId, bool overrideExisting, ExtensibleObject extensibleObject = null)
{
var fileDescriptor = await FileDescriptorRepository.FindAsync(name, directoryId);
if (fileDescriptor != null)
{
if (!overrideExisting)
{
throw new FileAlreadyExistException(name);
}
fileDescriptor.Size = contentLength;
extensibleObject?.MapExtraPropertiesTo(fileDescriptor);
await FileDescriptorRepository.UpdateAsync(fileDescriptor);
}
else
{
fileDescriptor =
new FileDescriptor(GuidGenerator.Create(), name, mimeType, directoryId, contentLength, tenantId);
extensibleObject?.MapExtraPropertiesTo(fileDescriptor);
await FileDescriptorRepository.InsertAsync(fileDescriptor);
}
return fileDescriptor;
}
hi
I will check this.
You need to check the source code of Saas module.
https://docs.abp.io/en/commercial/latest/modules/saas
Yes, 5.3.0-rc.1
hi
Please also share a ConnectionString
with me. I don't have auzre account.
ok
liming.ma@volosoft.com and steps to reproduce.
hi
The Elas use higher AutoMapper.
Elsa 2.7.0 -> Elsa.Core 2.7.0 -> AutoMapper (>= 11.0.1)
Abp 5.3 will support the 11 version of AutoMapper
https://github.com/abpframework/abp/pull/12189
Two options:
Elsa.Core <= 2.5.0
See https://support.abp.io/QA/Questions/1560/Logo-on-login-page-redirects-to-Swagger