ABP Framework 8.2.3, Micro Service architect. SQL server Db, any query has .Include() would throw exception:
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property cannot be called on Null values. at Microsoft.Data.SqlClient.SqlBuffer.ThrowIfNull() at Microsoft.Data.SqlClient.SqlBuffer.get_String() at Microsoft.Data.SqlClient.SqlDataReader.GetString(Int32 i) at lambda_method1856(Closure, DbDataReader, Int32[]) at Microsoft.EntityFrameworkCore.Query.Internal.BufferedDataReader.BufferedDataRecord.ReadObject(DbDataReader reader, Int32 ordinal, ReaderColumn column) at Microsoft.EntityFrameworkCore.Query.Internal.BufferedDataReader.BufferedDataRecord.ReadRow()
Code: var query = await this.GetQueryableAsync(); var result = await query.Include(x => x.ChildEntity).Where (...).FirstOrDfaultAsync();
I check the EF core mapping and Db data, all valid.
After upgrade to ABP 8.2.1 from ABP 7.2, login as host admin, The "Saas" menu (used for setup tenants and editions) are not visible any more.
I checked the from Administration Db, the AbpPermissionGrants table records are same.
Hi, Per google result, Twilio security code has 30 seconds expiration period, which means if a user use phone MFA within 30 seconds, the user would always get the same security code. It says there is a setting to change this time. With ABP I don't find any setting change the expiration period. Another issue is, after 30 seconds, a new code is generated, however the previous security code still could be used. It's said this is also expected behavior of Twilio. Is it a way to disable previous security code when new code is generated?
Thanks
Our current solution has some custom pages in Auth server project:
After upgrade to ABP 8.2.1 (Theme.LeptonX latest version 3.2.0), on login screen, click the eye icon, the password is not changed to plain text. It must be related to the JS and login page's style and login css. But I don't know where is above pages copy from.
Plus, I also notice there are a Themes folder contains all source code of the theme? Where these files come from?
If compare Administration Db snapshot between 8.2.1 and 8.1.4, we can notice that FlagIcon column is dropped from AbpLanguages. After add Db Migration to Administration Db, we can see the following table schema changes: protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "FlagIcon", table: "AbpLanguages"); }
However, after DbMigrator, if we try to launch Admin Service, the swagger is break complain about missing FlagIcon. I checked all Abp NuGet packages are upgraded to 8.2.1
Our project extend some app service in Identity service:
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IIdentityUserAppService))]
public class AbcIdentityUserAppService : IdentityUserAppService
{
//Some override methods
//Some new methods
}
When in ABP 7, when generate identity-service proxy, in angular side, there are two sub folder generated, one called abp, one called volo. After upgrade to ABP 8, the proxy for identity-service, only one folder volo generated, the new methods in class AbcIdentityUserAppService is not available for client side to call.
Error: src/app/abp-modules/account/public/src/components/personal-settings/personal-settings.component.ts:61:5 - error TS2740: Type 'FormGroup' is missing the following properties from type 'FormGroup<any>': addValidators, addAsyncValidators, removeValidators, removeAsyncValidators, and 4 more.
61 this.form = generateFormFromProps(data);
Error: src/app/abp-modules/account/public/src/defaults/default-my-security-logs-entity-props.ts:15:5 - error TS2322: Type '(data: Omit<PropData<IdentitySecurityLogDto>, "data">) => Observable<string>' is not assignable to type 'PropCallback<IdentitySecurityLogDto, Observable<any>>'. Type 'Observable<string>' is missing the following properties from type 'Observable<any>': _isScalar, _trySubscribe, _subscribe
15 valueResolver: data => { ....
After upgrade to ABP 8.2.1. there are following compile error:
Error: src/app/abp-modules/account/public/src/components/personal-settings/personal-settings-email/personal-settings-email.component.ts:3:3 - error TS2305: Module '"@abp/ng.theme.shared/extensions"' has no exported member 'EXTENSIBLE_FORM_VIEW_PROVIDER'.
Similar not exported member include: EXTENSIONS_FORM_PROP EXTENSIONS_FORM_PROP_DATA EXTENSIBLE_FORM_VIEW_PROVIDER EXTENSIONS_FORM_PROP EXTENSIBLE_FORM_VIEW_PROVIDER EXTENSIONS_FORM_PROP EXTENSIONS_FORM_PROP_DATA EXTENSIBLE_FORM_VIEW_PROVIDER EXTENSIONS_FORM_PROP EXTENSIONS_FORM_PROP_DATA
We has a shared project which defined shared Enum used by App Micro Services. We have the following case: Micro Service A use this enum, And Micro Service B setup that can call AppServices in Micro Services A; Service B also use this enum;
The generated property for Service B import this enum twice with build error: error TS2300: Duplicate identifier 'xxxxEnum'
ABP CLI is 8.1.5, package.json, ABP version is 8.1.5. After re-generate all proxies, there is the following error: Error: src/app/identity/identity.module.ts:87:5 - error NG6002: 'UiExtensionsModule' does not appear to be an NgModule class.
87 UiExtensionsModule, ~~~~~~~~~~~~~~~~~~
../../../../node_modules/@abp/ng.theme.shared/extensions/lib/ui-extensions.module.d.ts:3:22 3 export declare class UiExtensionsModule { ~~~~~~~~~~~~~~~~~~ This likely means that the library (@abp/ng.theme.shared/extensions) which declares UiExtensionsModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.