Activities of "sgarad"

Hi!

Can we please get an update on this...?

Thanks!

Hi!

Any update on this?

Thanks!

Hi. Thanks for that clarification. So all you did was create a project, and you created some tenants, and you were able to save them successfully. Good to know.

So now, let me explain our problem:

For our application needs, we had to change a few things in the "Connection Strings" component, so we created a Replacement Component to do so. We followed the directions in the documentation. When we opened the Create New Tenant modal during the process of creating a new tenant, we were able to successfully see our changes (from our new replacement component) in the Connection Strings tab.

However, when we attempted to save the new tenant, we saw an error.

You can see all the details if you scroll up to the original posting and look at the screen shots we provided.

We suspect that the root of the problem is that the Tenants component does not recognize our replacement Connection String component; rather, it seems to be erroneously referring to the original Connection String component instead (which will be undefined, since it's not being used).

So to reproduce the problem: simply create a component which replaces the Connection String component. Then, create a new tenant. Verify that your replacement Connection String component is being displayed in the Create New Tenant modal, in lieu of the original one. Finally, save the new tenant. At this point you should see the error.

I hope this clarifies things. Kindly let us know if more explanation is needed. Thanks!

Hi! Thanks for your reply.

I am not sure I understand your response though.

Could you please share all your code changes, in the way that we shared ours? I would very much like to see the all changes you made, since you claimed you could not reproduce the problem.

All I am seeing in your screenshot is that you have upgraded your Angular and abp/volo packages.

The reason why I am asking for this, is to make sure that you understand the problem we faced.

Or are you implying that simply upgrading to the latest versions of those packages actually fixes the problem?

Many thanks!

Hi There,

Is there any update on this. It's been since quite long time I'm waiting for the reply.

Thanks Krishna

Hello

Just wanted to follow up on this

This is kind of blocking one of our development tasks

Can we please get an update or some sort of resolution

Thanks

Hi!

Any update?

Thanks!

Hi there!

Any ideas?

Thanks!

  • ABP Framework version: v8.2.x
  • UI Type: Angular
  • Database System: EF Core (MySQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: See screenshot below
  • Steps to reproduce the issue: See steps below

We are seeing the error below in our devtools console when attempting to create a new Tenant:

We looked at the source and the error suggests that this.connectionStringsRef (on line 1126) is undefined:

We looked at the source of tenants.component.ts to see how connectionStringsRef was declared:

Further up in that tenants.component.ts file, we noticed the reference to that component:

Later on in the very same tenants.component.ts file, we saw this:

We had to replace that ConnectStringsComponent file. Our changes (in the new replacement component) showed up just fine in the browser. We followed the instructions in the official ABP.io docs, as seen in our modifications to app.component.ts below:

We tried calling this.replaceable.components.add in both the constructor and in ngOnInit (in AppComponent). It made no difference. We still ended up with the same error.

Below is the screen shot of how we added our new replaced component in AppModule, per instructions in the docs:

So, the question is, did we miss something? We did not modify tenants.component.ts; we didn't think we needed to, since we followed the instructions in the docs. So how is tenants.component.ts supposed to know to use the "new-connection-strings.component.ts" file instead of the old "connection-strings.component.ts" file?

Or are we supposed to modify tenants.component.ts as well? If so, does that mean every component that refers to a "replaced" component, somewhere in the dependency tree, needs to be updated?

Please advise, as we are blocked by this.

Thanks!

HI!

Thanks so much for sending the LeptonX angular source! Very helpful.

It turns out, we need the source of the following packages, as well! Please send version 8.2 of the below:

@volo/abp.commercial.ng.ui @volo/abp.ng.account @volo/abp.ng.audit-logging @volo/abp.ng.chat @volo/abp.ng.file-management @volo/abp.ng.gdpr @volo/abp.ng.identity @volo/abp.ng.language-management @volo/abp.ng.openiddictpro @volo/abp.ng.saas @volo/abp.ng.text-template-management

Thanks so much!

Showing 1 to 10 of 31 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11