Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "drutter1954"

The email service will not allow sending the project. This is what I am getting when I attempt to execute one of my proxies.

Here is the relevant portions of the Proxy:

using Abp.Application.Services.Dto; using myproject.Dto; using myproject.Expenses.Dtos; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks;

namespace myproject.Expenses { public class ProxyExpensesAppService : ProxyAppServiceBase, IExpensesAppService { public async Task CreateOrEdit(CreateOrEditExpenseDto input) { await ApiClient.PostAsync(GetEndpoint(nameof(CreateOrEdit)), input); }

    public async Task Delete(EntityDto<Guid> input)
    {
        await ApiClient.DeleteAsync(GetEndpoint(nameof(Delete)), input);
    }

    public async Task<PagedResultDto<GetExpenseForViewDto>> GetActiveForPatient(GetAllExpensesInput input)
    {
        return await ApiClient.GetAsync<PagedResultDto<GetExpenseForViewDto>>(GetEndpoint(nameof(GetActiveForPatient)), input);
    }

    public async Task<PagedResultDto<GetExpenseForViewDto>> GetActiveForUser()
    {
        return await ApiClient.GetAsync<PagedResultDto<GetExpenseForViewDto>>(GetEndpoint(nameof(GetActiveForUser)));
    }
}

}

Here is the method that calls the proxy:

    private async Task GetList()
    {
        await SetBusyAsync(async () =>
        {
            await WebRequestExecuter.Execute(
                async () => await _expensesAppService.GetActiveForUser(),
                (result) =>
                {
                    pendingExpenses.Clear();
                    approvedExpenses.Clear();
                    deniedExpenses.Clear();
                    foreach (var exp in result.Items)
                    {
                        if (exp.Expense.ApprovalStatus == Enums.CareEventStatuses.Pending)
                        {
                            ExpenseListModel expense = new ExpenseListModel()
                            {
                                Amount = exp.Expense.Amount,
                                Payee = exp.Expense.Payee,
                                ExpenseType = exp.Expense.ExpenseType,
                                ReceivedDate = exp.Expense.ReceivedDate
                            };
                            pendingExpenses.Add(expense);
                        }
                        else if (exp.Expense.ApprovalStatus == Enums.CareEventStatuses.Approved)
                        {
                            ExpenseListModel expense = new ExpenseListModel()
                            {
                                Amount = exp.Expense.Amount,
                                Payee = exp.Expense.Payee,
                                ExpenseType = exp.Expense.ExpenseType,
                                ReceivedDate = exp.Expense.ReceivedDate
                            };
                            approvedExpenses.Add(expense);
                        }
                        else
                        {
                            ExpenseListModel expense = new ExpenseListModel()
                            {
                                Amount = exp.Expense.Amount,
                                Payee = exp.Expense.Payee,
                                ExpenseType = exp.Expense.ExpenseType,
                                ReceivedDate = exp.Expense.ReceivedDate
                            };
                            deniedExpenses.Add(expense);
                        }
                    }
                    return Task.CompletedTask;
                });
        });
    }

I found a similar issue #11537 that resolved the initial problem of not resolving service. My proxy was named ProxyExpenseAppService and the interface is IExpensesAppService. Once I changed the proxy name to ProxyExpensesAppService it resolved correctly.

HOWEVER, when I attempt to make the call to a method on the proxy it never actually executes. I put a breakpoint in the SetBusyAsync method in the {myProject}ComponentBase on the await func(); call and it never hits it. In my InitializedAsync() method I had originally put a call to await UserDialogsService.Block() and it never allowed execution past that call. That same call is the first line of the SetBusyAsync() method and it appears it never goes past that call there either.

I need to get this working and don't know how to get past this issue.

I found the problem. I had commented out the <img> tag in the default.cshtml of AppLogo and added my own, but for some reason the system used both the commented out image and the new one. I removed the one I had entered and uncommented the original and the menu image is now correct.

Here is the screenshot of the web app's menu

Here is the screenshot:

I'm using rpm 9.6.7 and I've run npm install --omit=optional and the npm run create-bundles runs to the point that it appears to create the bundles but never returns to the command prompt. This is the output of the command: warning gulp > glob-watcher > chokidar > [email protected]: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2 [2/4] 🚚 Fetching packages... [3/4] 🔗 Linking dependencies... warning "bootstrap-maxlength > [email protected]" has incorrect peer dependency "popper.js@^1.16.1". [4/4] 🔨 Building fresh packages... success Saved lockfile. ✨ Done in 11.15s. [19:01:25] Using gulpfile ~/Projects/simul_bcfo/src/simul_bcfo.Web.Mvc/gulpfile.js [19:01:25] Starting 'buildDev'... Bundles are being created, please wait... [19:01:39] Finished 'buildDev' after 14 s

The "Finished..." line is the last one displayed and it never goes past that. My image resources are not getting updated and for some reason when I run the app I get 2 different images above the navigation menu: one is for my project and the other one is the standard AspNetZero logo. Still not behaving as I expected.

More information: this is the output of the process just prior to the error:

[3/4] Linking dependencies... warning "bootstrap-maxlength > [email protected]" has incorrect peer dependency "popper.js@^1.16.1". warning "js-url > [email protected]" has unmet peer dependency "grunt@>=1.0.3". error Error: EPERM: operation not permitted, unlink 'Z:\Projects\simul_bcfo\src\simul_bcfo.Web.Mvc\node_modules.bin\yarnpkg'

Showing 11 to 18 of 18 entries