It is good now.
The Azure Pipeline was good last Friday. But today it has this error: Unable to load the service index for source https://nuget.abp.io/9acf3724-93dd-4ab1-9a60-3123698a56a3/v3/index.json
Our UI used to have User name, Name, Surname, Email and Phone Number -- these 5 input controls, Now it's have 0 input controls on UI. The whole form is blank and not rendered. It's not related to any extra properties.
Hi,
I can't reproduce the problem.
ObjectExtensionManager.Instance.Modules() .ConfigureIdentity(identity => { identity.ConfigureUser(user => { user.AddOrUpdateProperty<string>( //property type: string "SocialSecurityNumber", //property name property => { property.Attributes.Add(new RequiredAttribute()); property.Attributes.Add(new StringLengthAttribute(64) {MinimumLength = 4}); } ); user.AddOrUpdateProperty<string>("Test"); user.AddOrUpdateProperty<string>("Test2"); user.AddOrUpdateProperty<string>("Test3"); user.AddOrUpdateProperty<string>("Test4"); user.AddOrUpdateProperty<string>("Test5"); user.AddOrUpdateProperty<string>("Test6"); }); });
What is the logic within abp-extensible-form to decide the input control rendered on UI?
Here is the source code
https://github.com/abpframework/abp/blob/rel-8.0/npm/ng-packs/packages/components/extensible/src/lib/components/extensible-form/extensible-form.component.ts
After upgrade to Abp 8 (BE use Abp 8.2.3) FE use 8.1.3 (For Saas menu display on ABP 8.2.3) Micro Service Architect
Click account , personal setting, the form content for this line not showing o UI <abp-extensible-form [selectedRecord]="storedProfile"></abp-extensible-form>
In ABP 7:
export interface ProfileDto extends ExtensibleObject {
userName?: string;
email?: string;
emailConfirmed: boolean;
name?: string;
surname?: string;
phoneNumber?: string;
phoneNumberConfirmed: boolean;
isExternal: boolean;
hasPassword: boolean;
concurrencyStamp?: string;
}
In ABP 8:
export interface ProfileDto extends ExtensibleObject {
userName?: string;
email?: string;
emailConfirmed: boolean;
name?: string;
surname?: string;
phoneNumber?: string;
phoneNumberConfirmed: boolean;
isExternal: boolean;
hasPassword: boolean;
supportsMultipleTimezone: boolean;
timezone?: string;
concurrencyStamp?: string;
}
But I think the Dto extra properties should not cause the issue. I create a ProfileDtoLocal as version 7 Dto and bind it to abp-extensible-form, but the UI still black.
Plus, I have a question though, the Dto has many properties, but even on ABP 7 UI only show:= 5 input contorls: User name,, Name, Surname, Email and Phone Number
What is the logic within abp-extensible-form to decide the input control rendered on UI?
hi
What steps and code have you applied to the layout/theme?
Can you share the
csproj
file content for your web project?
I figured out the reason. Our local templates folder files are not pickup when deployed. Since in release mode, the bundle is Abp's Theme package bundle + global css bundle. I compared bundled css with previous bundled css, d-lg-block and another css have display:none; in version 8, version 7 has definition for .lpx-login-image-area but version 8 seems not. So I copied version 7 css to local global css.
ABP 8.2.3 MicroServices Template
When run application locally, after upgrade, the login page layout is good (same as before). However, after the application deployed, the layout is different. How to disable ABP script and css bundle, so that I can compare local version scripts/css and deployed version. I commented the line Config Bundle, the bundle is still there.
Also, I copy over every css, lib, theme folders/files and Theme package back to prior upgrade, the UI still not same as before. Don't understand why.
Thanks, Domina
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.
Hi DominaTang,
We moved SaaS menu under the administration. If you talking about this, that's not bug but if you say saas menu not visible even under administartion I'll check also for it.
Yes, under administration menu, the 'Saas' menu item is not there after upgrade to ABP 8.2.x
hi
That's strange, Can you share a test project to reproduce?
Thanks
liming.ma@volosoft.com
Can we have a shared session?