Hi Engincan, I changed the Built Action property of the file to Embedded Resource but unfortunately I got the same error.
I even tried something like this:
- Add textfile.txt as EmbeddedResource to the /Pages/Account folder (in Host project)
- Read the textfile.txt file in any an AppService method:
var t = File.OpenText("/Pages/Account/textfile.txt");But I still got the error:System.IO.DirectoryNotFoundException: Could not find a part of the path '/Pages/Account/textfile.txt'.I created the application via Abp Studio and did not make any special changes.
Hi, it seems there is a misconfiguration for Virtual File System. If it's possible, please send your application via an email to support@abp.io with the ticket number, so I can fix it in your code and let you know about the problem, later on.
Please let me know, when you send your solution via email or if you can't.
Best regards.
Hi, what's your LeptonX Theme package version? It's 3.0.2 I guess, right? There was a flicker problem on the logo, it was first showing the default logo and then replaced it with your own logo. But, we have already fixed this problem with v3.2.0-rc.1.
Therefore, if you upgrade your LeptonX Theme package version to 3.2.0+, then this problem will be fixed.
Regards.
Hi, as far as I understand, you have overridden the MainNavbarBrandViewComponent, right? Can you confirm and explain your scenario in detail, please?
ABP provides
LanguageSwitchViewComponentwhich is used as a toolbar item, and lists the related languages and allows you to change language in your application.
Regards.
<PackageReference Include="Volo.Abp.Http.Client.Web" Version="7.2.2" /> <PackageReference Include="Volo.Abp.Http.Client.IdentityModel.Web" Version="7.2.2" />
7.2.2 UseAbpClaimsMap , not dynamic claims, CurrentUser.GetAllClaims() not phone_number
Can you logout and then re login to see if claims are refreshed? I have tried just before and it seems there is no problem.
Based on your suggestions, I will test removing SignOutSessionStateManager to see if session persistence improves on mobile browsers.
Hi, I will be waiting for your response.
Thank you for your prompt response.
I raise this ticket because the angular application hits the following error and not able to load successfully due to the missing provideAbpThemeShared() config.
Please advise.
Thank you.
Hi, it seems in the main app.module.ts file we have already imported the related provider, but forgot for dev-app. So, in the meantime, can you add it manually and run your application? We will update the template with the next patch release.
Btw, your ticket is refunded. Thanks for reporting the issue.
Best regards.
What do I do in the meantime? What is the workaround?
Hi, unfortunately there is no workaround that we can provide for now. We have fixed the problem and if you update your LeptonX package versions to 4.0.7, it should fix this problem.
Hi, please ensure that the related file (cregister.js) is an embedded resource (see https://abp.io/docs/9.0/framework/infrastructure/virtual-file-system#embedding-the-files).
The related build action for the file should be embedded resource. (You can right-click to the file and see it's properties and check build-action)
Hi, did you enable the Idle Session Timeout option (https://abp.io/docs/9.1/modules/account/idle-session-timeout)? It seems it might be related to that. Can you confirm if it's enabled for further investigation?
Regards.
Hi, after setting the phone_number in the account manage page, did you logout and then re-login? This is needed to refresh the claims if you are not using dynamic claims.
Can you logout and then re-login and see if the claims are listed as expected?
Regards.