hi
Please share the full
logs.txt
of your video, I guess thereturn url
has wrong.liming.ma@volosoft.com
Thanks
Sent a logs to ur email, let me know if anything is needed more on this
Thanks
shared the screen recording to ur email malimings@gmail.com
hi
Please share some info first. Then we can join a zoom meeting.
ok, will send
hi
I do not understand it very well. Can you share some screenshots, code and logs? Thanks
Is it possible to have a screenshare session ?
hi
Please share the logs.
There is a
RedirectAllowedUrls
in theAppUrlOptions
You can add your URL to it or override the
IsRedirectAllowedUrl
method ofIAppUrlProvider
.
I think there is small miss communication, when users are clicking on the application URL link, they are able to login and navihate to the application.
but our requirement is redirect to Specific Module specific URL after successful login. In our case this is perfectly working for Service A but not behaving same for Service B and ABP. Forms module.
In case of service B, the user is able to login and just landed to Default/Home page not the module sepcific page https://test.com/ServiceBMyObjectA/Edit/?id=d1268bec-b1ae-8397-c175-3a0e9c194353
ABP Framework version: v5.1.3 UI Type: MVC Database System: SQL Server / MongoDB Tiered (for MVC) or Auth Server Separated (for Angular): yes Exception message and full stack trace: Steps to reproduce the issue:
We have using the Emailing functionality in our application and sending the URL link as part of the email, for most of the services the user is getting redirected after successful login but for emails from Abp forms and from specific service module it is just going to home page not redirecting to desired page. Any idea?
For an example We have two services Service A and Service B,
URL for Servica A is perfectly working https://test.com/ServiceA/MyObjectA/Edit/?id=506d357d-bb97-f086-713c-3a0e9c192693
where as URL for Service B is not working https://test.com/ServiceBMyObjectA/Edit/?id=d1268bec-b1ae-8397-c175-3a0e9c194353
Do we need to do any configurations for the same? Please advise.
Hello viswajwalith,
Could you please share some more steps to reproduce the issue?
Hi Anjali,
We dont have any specific steps to reproduce, but this happening in our hosted environment. After some deployments we observed that delete flag for some records in AbpTextTemplateContents is setting up to 1, so supecting something with migrator. We are sure no user updated this but this is happening automatically. any idea what are the possible scenerios/steps which updateds this flags?
Hi We got the exact issue identified and fixed at our end. This is an issue with ABP logic in updating the email content.
In TemplateContentAppService.cs , as per the existig logic, for every Content update old record are getting deleted and new one is getting created. That is fine. But in case someone clicks on save without changing any content. Old record are getting deleted but new one are not creating because of return statement in case of no content change.
In nut shell in case of no content change we should not dlete the old one as well, So we have moved the delete logic after the retunr statment (in case of no content change)
I am not sure how it was in Latest versions of ABP, make I think this should be handled at framework level only. Let us know in case of any more details needed.
Hello viswajwalith,
Could you please share some more steps to reproduce the issue?
Hi Anjali,
We dont have any specific steps to reproduce, but this happening in our hosted environment. After some deployments we observed that delete flag for some records in AbpTextTemplateContents is setting up to 1, so supecting something with migrator. We are sure no user updated this but this is happening automatically. any idea what are the possible scenerios/steps which updateds this flags?
ABP Framework version: v5.1.3 UI Type: MVC Database System: SQL Server / MongoDB Tiered (for MVC) or Auth Server Separated (for Angular): yes Exception message and full stack trace: Steps to reproduce the issue:
We are defining the Custom Email Templates but at some times (after deployment but not 100% sure on this) we have observed that custom templates are getting deleted without any action from the user. Not all the times it is getting replicated.
We checked the application log but no trace of any API calles to set to default "/api/text-template-management/template-contents/restore-to-default"
Any idea on possible root cause? Is there anything related to Migrator or Template Files stored under "EmailTemplates" administartion service host?
hi
You can override this service to cache the result.
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L86
Thanks for the input, but I think we had to cache based on user right ???