Activities of "alexander.nikonov"

I already did such a compare, but it did not help me. Because a new project does not have previous migration classes - from version 3.3.2, as in my case. So I cannot figure out what went wrong when I was doing update-database. To provide you the details, I've attached two migration classes (see in my first message): previous one, version 3.3.2 and current one, version 4.3.0. Obviously, some tables have not been created which are now required for ABP 4.3.0 to function properly.

From your documentation I cannot understand how to have those missing tables created and how to make "Forgot password" functionality function properly now (when it needs AbpTextTemplateContents table which has not been created during migration).

@maliming

Thank you. But as I've already mentioned in GitHub item, I have already made migration. And I did read the manual - I run update-database and I did data seeding for IdentityServer. I re-read those migration guides, however I cannot find anything related to my issue.

So please help me to resolve it.

Answer

there are missing tables because you might not have these modules: AbpBlobContainers, AbpTextTemplateContents If you create a new project these modules come by default that's why you see the difference in migration. You need to add these modules manually (if you require them)

@alper I did not expect to need this(these) module(s), but I got exception when trying to use "Forgot password" functionality - there was exception related to missing table - AbpTextTemplateContents. But even if this table is to be created when I add the corresponding module - it's gonna be empty? IMHO It should not require some email templates as "mustbe"? Or should be some default templates created automatically as I see it.

Anyway, I am not sure it's quite obvious I need this table, because in the previous versions of ABP I didn't have this table and "Forgot password" worked as expected (i.e. email was sent)... So the question is: how to make "Forgot password" functionality work now? BTW, I need to fine-tune password update, because we use multi-tenant custom logic and I will need to update the password for all logins (usernames) with the same name at other tenants...

Answer

I've upgraded our solution from ABP 3.3.2 to 4.3.0.

Everything was more or less smoothly, but now I discovered a problem: some new ABP tables are missing from migration scripts! How come? What am I supposed to do now?

Please have a look at the migration classes autogenerated for 3.3.2 and 4.3.0. https://1drv.ms/u/s!AhWdpZddvifTtizt4xjre044i7B8?e=0xuBUs

Here is the list of ABP-prefixed tables created from test solution (autogenerated in ABP Suite) using DbMigrator project in local MS SQL server DB - all the tables are at place:

Here is the list of tables in our ORACLE DB created using standard update-database command and DbMigrator afterwards to seed data - make a note some tables are missing (for instance, AbpBlobContainers, AbpTextTemplateContents). How it's possible?? How to easily find out what is missing and add it?

Answer

Hi.

We found out that the class which implements IPermissionStore interface has different behavior than we expected. This class has limitation on checking granted permission. It can check any permission which was declared in current ABP module for some roles, but due to the limitation, it doesn't allow to check granted permission which was declared in other module for the same roles.

Also please pay attention to property CurrentUser. As you can see, this property returns object with information about the user who sent request. And the field UserName is null. Could you please explain how it can be fixed or what we did wrong? This field is required for us.

By chance I realized when my error takes place! It happens when there is no any ABP solution created! But it needs to be able to download ABP modules source code even if no solution created so far, right?

Yes, they are of the same version:

Hi, any updates here?

I suspect it is not possible to make logo change working for external authentication app (i.e. IdentityServer in my case), since it's a different (not Angular) app. So what is described in the doc is the case for Login box residing in Angular app, here the logo cannot be changed:

Hi @armanozak. I am trying to make logo replacement following your documentation, bu it fails with the following error:

No provider for AccountLayoutComponent!

I think I understand the problem (in the documentation you say to add provider to app component of my app, but do not say anything about AccountLayoutComponent), but how to assign provider to the existing ABP component like AccountLayoutComponent?

Would be great to have some context search in your documentation - for instance, by word AccountLayoutComponent - probably this is already covered somewhere... This way we - users - would have less questions :) Instead, now I am getting this:

Showing 211 to 220 of 276 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30