My portal was on 7.2.x and recently upgraded to 8.1.3 but when doing a password reset from the hosted app it ends up with an error 500 inside the password reset box. Looking at the log files this error comes up after the link has been clicked in the password reset email.
I have checked the package.json has the current 8.1.3 version in, a copy is below:
{ "version": "1.0.0", "name": "my-app", "private": true, "dependencies": { "@fortawesome/fontawesome-pro": "^6.3.0", "@volo/abp.aspnetcore.mvc.ui.theme.leptonx": "~3.1.3", "@volo/account": "~8.1.3", "@volo/audit-logging": "~8.1.3", "@volo/file-management": "~8.1.3", "@volo/identity": "~8.1.3", "@volo/language-management": "~8.1.3", "@volo/saas": "~8.1.3" } }
When attempting a abp install-libs I get the following:
ABP CLI 8.1.3 Found 1 projects. C:\Users\mail\source\repos\Hub\src\Hub.Web Running Yarn on C:\Users\mail\source\repos\Hub\src\Hub.Web yarn install v1.22.19 [1/4] Resolving packages... error Couldn't find package "@fortawesome/fontawesome-free@^6.5.1" required by "@abp/font-awesome@~8.1.3" on the "npm" registry. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Volo.Abp.AbpException: Could not find file '/libs/zxcvbn/zxcvbn.js'
Any ideas would be welcome as it looks like a package issue rather than something self-inflicted.
Thanks, Dave
2024-06-12 12:27:34.320 +00:00 [ERR] An unhandled exception has occurred while executing the request.
Volo.Abp.AbpException: Could not find file '/libs/zxcvbn/zxcvbn.js'
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetFileInfo(IBundlerContext context, String file)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetAndMinifyFileContent(IBundlerContext context, String fileName)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetFileContentConsideringMinification(IBundlerContext context, String fileName)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.Bundle(IBundlerContext context)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.<>c__DisplayClass17_0.<AddToBundleCache>b__0()
at System.Collections.Generic.AbpDictionaryExtensions.<>c__DisplayClass7_02.<GetOrAdd>b__0(TKey k) at System.Collections.Concurrent.ConcurrentDictionary
2.GetOrAdd(TKey key, Func2 valueFactory) at System.Collections.Generic.AbpDictionaryExtensions.GetOrAdd[TKey,TValue](ConcurrentDictionary
2 dictionary, TKey key, Func1 factory) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleCache.GetOrAdd(String bundleName, Func
1 factory)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.AddToBundleCache(String bundleName, IBundler bundler, List1 bundleFiles) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.GetBundleFilesAsync(BundleConfigurationCollection bundles, String bundleName, IBundler bundler) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.GetScriptBundleFilesAsync(String bundleName) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperScriptService.GetBundleFilesAsync(String bundleName) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperResourceService.ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List
1 bundleItems, String bundleName)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpBundleTagHelperService2.ProcessAsync(TagHelperContext context, TagHelperOutput output) at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.<RunAsync>g__Awaited|0_0(Task task, TagHelperExecutionContext executionContext, Int32 i, Int32 count) at AspNetCoreGeneratedDocument.Pages_Account_ResetPassword.<ExecuteAsync>b__19_0() at Microsoft.AspNetCore.Mvc.Razor.RazorPage.RenderSectionAsyncCore(String sectionName, Boolean required) at AspNetCoreGeneratedDocument.Themes_LeptonX_Layouts_Account_Default.<>c__DisplayClass20_0.<<ExecuteAsync>b__1>d.MoveNext() in C:\Users\mail\source\repos\Hub\src\Hub.Web\Themes\LeptonX\Layouts\Account\Default.cshtml:line 193 --- End of stack trace from previous location --- at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync() at AspNetCoreGeneratedDocument.Themes_LeptonX_Layouts_Account_Default.ExecuteAsync() in C:\Users\mail\source\repos\Hub\src\Hub.Web\Themes\LeptonX\Layouts\Account\Default.cshtml:line 94 at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderLayoutAsync(ViewContext context, ViewBufferTextWriter bodyWriter) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable
1 statusCode)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.
I've spent the evening trying to get an email template sending when a new user has been created. After looking around for a few examples I had the same issue as others where it works locally but not when hosted in Azure. Looking at the log.txt I found this error which meant the virtual files weren't being found.
2023-11-20 20:50:12.456 +00:00 [ERR] Could not find a file/folder at the location: /Emailing/Templates/NewUserWelcome.tpl Volo.Abp.AbpException: Could not find a file/folder at the location: /Emailing/Templates/NewUserWelcome.tpl
Short version, I found the answer / workaround on stackoverflow. Copy your email template folder + .tpl file and put it in the Domain.Shared rather than the Application project and it'll work. If you have got everything else in place but its not working, this might be the last step required:
https://stackoverflow.com/questions/75113191/abp-framework-cant-acces-virtual-files-in-deploy
If you're creating a bug/problem report, please include followings:
Hi, I am looking to add a "Next" button in the footer modal that will move to the next tab along, as the user has commented they get confused when "Save" is "Save and Close". I can't see in the tag helpers any way to do this, so is there an easy way to extend it to handle this situation? I'm happy to copy the modal footer code into each tab so that Next doesn't appear on the last page.
Or does anyone else have a different approach I could put forward, like having the "Save" show "Save & Close" instead.
Thanks, Dave