Starts in:
2 DAYS
1 HR
12 MIN
15 SEC
Starts in:
2 D
1 H
12 M
15 S

Activities of "BassaSolutions"

The parameters also often contains large base64 images, so a maxlength parameter field would seriously impact our database performance. It would be great when at least 1 field of the audit/auditaction table works for this. Eg. comments ui gets scrollable when length > 200.

Steps to reproduce:

  • Use Blazor Server
  • Write an invalid JSON into AuditLogActions.Details. (e.g.Cut off valid json at 2000 characters). Can also be directy edited in the database.
  • Open Audilogs->Actions->Details

Ok, I tried fixing it by writing the data to antoher field (e.g. increasing comments size and writing it there, or in ExtraProperties).

None of it works, because the UI does not display it. (e.g. comments only shows first 200 characters, Extraproperties seems to not be able to hande json).

This works half way, the data is inserted into the DB. But now the Frontend crashes (Blazor), because the Page (AuditLogs -> Action -> Details) seems to expect a valid JSON:


 ---> System.Text.Json.JsonReaderException: Expected end of string, but instead reached end of data. LineNumber: 0 | BytePositionInLine: 1999.

I guess this was the reason why it was just not inserted into the DB. For auditing it would be really useful to still get the information, wo can this be fixed?

Ok, I formulated it badly.

I mean the property AbpAuditLogActions.Parameters, where the HTTP POST Body is logged.

It has a max length of 2000 characters. When the JSON is longer than 2000, it will log nothing at all. I would like to have it cut off instead, same as AbpAuditLogs.Comments.

Ok, so there is no documentation, but in the latest preview there is the option to get blazor side server application... But I am pretty sure the result is broken. There is no Host project that can be started.

We would like to migrate as soon as possible, because waiting 20 seconds for a page is not ok to offer to any user.

I could not find any documentation to blazor server on the abp docs, there is just a description of a blazor client setup. Is it already in version 4.2.2? I'd be glad if you can point me to some documentation.

Thanks!

Ok, so there is nothing like a 'color changer' to simply adopt your lepton theme? This would be a helpful feature. I would assume that most of the customers want to use their own company colors, instead of the generic ABP ones.

I found the solution, it had to be added directly into useHangfireDashboard:

  var backgroundJobOptions =
                context.ServiceProvider.GetRequiredService<IOptions<AbpBackgroundJobOptions>>().Value;
   app.UseHangfireDashboard("/jobs", new DashboardOptions
    {
        DashboardTitle = "MyProject Background Jobs",
        DisplayNameFunc = (jobContext, job) =>
        {
            var jobType = job.Args.First().GetType();
            var abpJobType = backgroundJobOptions.GetJob(jobType);
            return abpJobType.JobName;
        }
    });

I added it,the defined job name is still not displayed.

I put it directly after

   // Configure Hangfire
    context.Services.AddHangfire(config =>
    {
        config.UseSqlServerStorage(configuration.GetConnectionString("Default"));
    });
Showing 21 to 30 of 33 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06