Activities of "EngincanV"

Does Abp Commercial support Lepton or is it deprecated?

We still support it, and it's not deprecated. But we don't work on that regularly and introduce new features. (Migrating to LeptonX Theme is recommended but it's totally up to you)

Abp Commercial plan to add new layouts like https://startbootstrap.com/theme/sb-admin-2?

Currently, we are not planning to add a new layout.

Is it possible to have a quote to have a layout of that type plus the management of realtime notifications and chat like in AspNetZero?

I'm not sure, that I understood this question completely. Can you rephrase this, please? Or give an example?

  • Add SignalR sample to both backend, gateway and Angular. Somehow with Micro Services template, the Angular SignalR request is always rejected by gateway and we couldn't figure out the reason.

  • AbpEntityChanges, add two properties which is JSON format old instance snapshot and new instance snapshot.

This is not a feature request for ABP Suite, please write these requests in the https://support.abp.io/QA/Questions/3052/Your-feature-request

Thansk fo reply.

From the issue you indicated I read that LeptonX has 3 layouts: Application, SideMenu and TopMenu.(ABP v.6) I need the Application layout

But now it seems to be no longer available, how can I restore it? https://docs.abp.io/en/commercial/latest/themes/lepton-x/blazor?UI=Blazor#updating-bundles-on-layout-changes

Hi, sorry for the inconvenience. Actually, both LeptonXLite and LeptonX Themes have three layouts: Account, Application and Empty.

LeptonX Theme's Application Layout is separated into two types of layouts: Side Menu Layout and Top Menu Layout (but LeptonXLite does not have a top-menu layout for example). This is what I was trying to say, but obviously it caused a misunderstanding. Sorry for that.

Best Regards.

This is fine but my Issue is, I can't delete Category from a particular Book. We are waiting for your reply because its very urgent.

Oh okay, sorry for the misunderstanding, I thought the problem was being not able to delete books. I'm able to reproduce the problem you stated now.


To quickly fix this problem for now, you can change the delete behavior in the dbcontext class. So, please open your DbContext class and make the following changes:

        if (builder.IsHostDatabase())
        {
            builder.Entity<Book>(b =>
            {
                b.ToTable(DbTablePrefix + "Books", DbSchema);
                b.ConfigureByConvention();
                b.Property(x => x.Name).HasColumnName(nameof(Book.Name));
                b.HasMany(x => x.Categories).WithOne().HasForeignKey(x => x.BookId).IsRequired()
-                   .OnDelete(DeleteBehavior.NoAction);
+                   .OnDelete(DeleteBehavior.Cascade);
            });

            builder.Entity<BookCategory>(b =>
            {
                b.ToTable(DbTablePrefix + "BookCategory", DbSchema);
                b.ConfigureByConvention();

                b.HasKey(
                    x => new { x.BookId, x.CategoryId }
                );

                b.HasOne<Book>().WithMany(x => x.Categories).HasForeignKey(x => x.BookId).IsRequired()
-                   .OnDelete(DeleteBehavior.NoAction);
+                   .OnDelete(DeleteBehavior.Cascade);

                b.HasOne<Category>().WithMany().HasForeignKey(x => x.CategoryId).IsRequired()
-                   .OnDelete(DeleteBehavior.NoAction);
+                   .OnDelete(DeleteBehavior.Cascade);

                b.HasIndex(
                    x => new { x.BookId, x.CategoryId }
                );
            });
        }

Just change the .OnDelete(DeleteBehavior.NoAction) to .OnDelete(DeleteBehavior.Cascade), and then create a new migration and apply it to the database. Then, your problem should be fixed.

Note: We have already made this change in the v8.1.0-rc.1+, so you can also consider updating your application.


Best regards.

I could not reproduce it:

Can you please share your *DbContext class content and, share the full error logs?

Hi, I'll test this and write you back asap.

i have added new field in table and unchecked test generation, still it didn't generate ui for new field

From the previous logs, it seemed the UI code generation did not happen because being not able to generate unit tests. So, to be able to understand the current problem, please share the latest ABP Suite logs again, they should be changed.

It is strange why it has stopped UI generation, though it does not give any error as well. i have done more changes but for all of them no error and no UI code generated.
We cannot afford this type of issue as we have to generate the front end angular code because we cannot do that code manually and it defeats the purpose of using the ABP.

Thanks

The reason is the unit test generation. We had problems generating unit tests due to changes we made in the v8.0 testing structure (it's fixed with v8.1.0-rc.1), so you can either implement the unit testing changes we made in v8.0 by examining the v8.0 template or you can uncheck unit test generation and regenerate the entity. Then, it should successfully generate the UI. (please fix the build errors before the code generation)

Hi, I think that's a great suggestion. We have created an internal issue (#16977) for your suggestion and will evaluate it and try to prioritize it. Thanks for your suggestion.

Best regards.

yes problem was some duplicate package, but now when i made changes to model it is not generating changes for front end in angular even if i tick the generate ui checkbox while generating. it is generating code for backend projects and not for front end

Hi, did you get any error while the entity is being generated? Please share the suite logs, so I can better assist you.

Showing 131 to 140 of 730 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 18, 2024, 05:54