Starts in:
1 DAY
10 HRS
43 MIN
34 SEC
Starts in:
1 D
10 H
43 M
34 S

Activities of "liangshiwei"

You can replace the LocalStorageListenerService

import { Injectable, inject } from '@angular/core';

@Injectable({
  providedIn: 'root',
})
export class MyLocalStorageListenerService{

  constructor() {
    // do nothing
  }
}

AppModule

  providers: [
    APP_ROUTE_PROVIDER,
    provideAbpCore(
      withOptions({
        environment,
        registerLocaleFn: registerLocale(),
      }),
    ),
    {
      provide : LocalStorageListenerService,
      useValue : MyLocalStorageListenerService
    },
    .......
  ]

Unfortunately not yet

  1. "Login" button is always disabled, even when I provide both user name and password.
  2. Logo above login form is not displayed at all. There is only application name displayed but it looks like it's not affected by css style.

you can try add _ViewImports.cshtml

@using System.Globalization
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bootstrap
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bundling

I can't reproduce the problem

  • abp new Testapp -u angular
ObjectExtensionManager.Instance.Modules()
  .ConfigureSaas(saas =>
  {
      saas.ConfigureTenant(tenant =>
      {
          tenant.AddOrUpdateProperty<Guid>( //property type: string
              "OpenIddictApplicationId", //property name
              property =>
              {
                  property.UI.Lookup.Url = "/api/openiddict/applications";
                  property.UI.Lookup.DisplayPropertyName = "displayName";
                  property.UI.Lookup.ValuePropertyName = "id";
              }
          );
      });
  });

You can implement IDeletionAuditedObject interface

HI

Please carefully check the answer

You can try override the ApplyAbpConceptsForDeletedEntity method

YourDbContext

protected override void ApplyAbpConceptsForDeletedEntity(EntityEntry entry)
{
    if (!(entry.Entity is ISoftDelete))
    {
        return;
    }

    if (IsHardDeleted(entry))
    {
        return;
    }

    if (entry.CurrentValues.Properties.Any(x => x.Name == nameof(IHasExtraProperties.ExtraProperties)))
    {
        ExtraPropertyDictionary? originalExtraProperties = null;
        if (entry.Entity is IHasExtraProperties)
        {
            originalExtraProperties = entry.OriginalValues.GetValue<ExtraPropertyDictionary>(nameof(IHasExtraProperties.ExtraProperties));
        }

        entry.Reload();

        if (entry.Entity is IHasExtraProperties)
        {
            ObjectHelper.TrySetProperty(entry.Entity.As<IHasExtraProperties>(), x => x.ExtraProperties, () => originalExtraProperties);
        }
    }
    

    ObjectHelper.TrySetProperty(entry.Entity.As<ISoftDelete>(), x => x.IsDeleted, () => true);
    SetDeletionAuditProperties(entry);
}

could you use https://wetransfer.com/

There is a document

https://abp.io/docs/latest/framework/data/entity-framework-core/oracle

Hi,

Sorry, I don't quite understand.

Showing 1 to 10 of 6100 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06