You're welcome. As far as I understand, the problem is solved. So I am closing the issue. Feel free to re-open or create a new issue if you have further questions.
Since you are in development
mode, it is normal to check the license, but if you run the production
environment, you should not encounter this problem. Of course, I assume that in your case, you want to run in development
mode, so the abp login
command will be required as you mentioned.
I think there is a problem with the abp login
step.
So, I will ask you to run the following command after step 3 and step 7 and share the output with us.
abp login-info
Hi,
You can listen to the onResult
event for this.
See: https://docs.abp.io/en/abp/5.2/UI/AspNetCore/Modals#saving-the-modal
Where you open the create modal, you can listen to the modal's onResult
event by using the modal's variable (for instance: productCreateModal
) like below:
productCreateModal.onResult(function(){
console.log(arguments);
// check response and show a message if the response is successful.
abp.message.success(l('CreateProductSuccessMessage'))
.then(data => window.location.href = "/Products");
});
Hi,
I think this is same with https://github.com/abpframework/abp/issues/8019#issuecomment-796776155
Can you check?
Hi,
I am sending the relevant translation document to your e-mail address. If the mail does not arrive, please report it here.
I'm glad it fixed it 🥳
Closing the issue. Feel free to create a new issue if you have further questions.
Create a new project with Suite, then copy the NuGet.Config
file from this new project and replace it with the NuGet.Config
file in your old project. If you have made changes to this file before, you may need to move your changes to the other file, otherwise, you may get build errors.
I'll be looking forward to seeing if it works.
Have a nice day.
Interesting. Does this problem also occur when you create a new project? Or is it just the case in this current project?
i am not able to bind both
Where exactly are you having trouble? Couldn't bind a property in the UI to the model?
Please, can you provide a log record, code, or minimal reproducible example of the problem, if any, so that I can assist you better?
You can override the DownloadAsync
method in FileDescriptorController
and update it as follows:
var fileDescriptor = await FileDescriptorAppService.GetAsync(id);
Response.Headers.Add("Content-Disposition", $"attachment;filename=\"{HttpUtility.UrlEncode(fileDescriptor.Name)}\""); // this has changed
Response.Headers.Add("Accept-Ranges", "bytes");
Response.ContentType = fileDescriptor.MimeType;
return await FileDescriptorAppService.DownloadAsync(id, token);
We solved the problem with HttpUtility.UrlEncode
. But if you know of a better solution, please let us know.