banco-alimentar / alimentestaideia.pt

Site doações alimente esta ideia
http://alimentestaideia.pt
Other
10 stars 0 forks source link

doar+ configuration issue generating NullReferenceException #770

Open tiagonmas opened 6 months ago

tiagonmas commented 6 months ago

Describe the bug When trying to pay with multibanco in doar-preprod.bancoalimentar.pt

https://doar-preprod.bancoalimentar.pt/Payments/Multibanco?PublicId=d82da7f8-415d-40e4-9041-5b519bc3734c

An unhandled exception occurred while processing the request.
NullReferenceException: Object reference not set to an instance of an object.
BancoAlimentar.AlimentaEstaIdeia.Web.ConfigurationExtensions.GetFilePath(IConfiguration configuration, string key) in ConfigurationExtensions.cs, line 43

Stack Query Cookies Headers Routing
NullReferenceException: Object reference not set to an instance of an object.
BancoAlimentar.AlimentaEstaIdeia.Web.ConfigurationExtensions.GetFilePath(IConfiguration configuration, string key) in ConfigurationExtensions.cs
BancoAlimentar.AlimentaEstaIdeia.Web.Pages.Payments.MultibancoModel.OnGet(Guid publicId) in Multibanco.cshtml.cs
lambda_method2361(Closure , object , object[] )
Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory+ActionResultHandlerMethod.Execute(object receiver, object[] arguments)

What configuration are we missing ?