Thank you it works perfectly but i have another question if the child and master is enough why do you put (Navigation tab and 1-n relation)??
You can establish a relationship with another entity (except the master entity itself). For example, you can have Order
, OrderLine
, and Product
entities and want to establish a one-to-many relationship between OrderLine
and Product
(OrderLine can have multiple products). In this case, it's useful and needed for your use case.
I close the question since your question is answered. Please create a new ticket, if you have further questions. Best regards.
Hi, it seems you have added OrderId
as either as a property or to establish a one-to-many relationship with the Order
entity in your child entity (OrderLine
in this example). You don't need to establish one to many relationships, the master-child relationship is enough for the relation, otherwise, it's normal to see OrderId
as duplicated.
| OrderLine.cs
| OrderLineDto.cs
|
| --- | --- |
| | |
So, your OrderLine
entity definition should be as follows:
If you want you can establish one-to-many relationship with other entities, but not with the master entity.
Hi, did you create a module pro template or create an application template and add a new module to it? Can you specify, please?
Hi, we have made some enhancements in our testing projects' structure and we have aligned the changes to ABP Suite. But it seems there is a problem related to this enhancement. I will check it and create an internal issue for it. There is no problem in the CRUD page generation, only the generated tests are missing reference problems.
So, in the meantime, if you want you can uncheck the "creating tests" option and generate entities without its tests.BTW, I have refunded your ticket.
Best Regards.
Hi,
Ai Created a default aplication that is mvc and postgres entity framework. Then in suite selected my mvc aplication and click on modules
After the module creation went to my new module through suite and try to create an entity. When selected generated backen it shows the error above.
Thanks for the explanation. I'll test this and write you back asap.
Hi, I could successfully generate CRUD pages for the module-pro template as can be seen below:
We are not providing, database-provider selection for the module-pro template but as far as I see, you have specified that you are using PostgreSQL as the database provider:
Probably you have switched the database provider manually in the solution and now trying to generate CRUD pages, right? Can you confirm? If so, ABP Suite can not know your database provider and might not generate code according to that, and unfortunately, there is nothing we can do, because the solution is modified.
I follow : https://community.abp.io/posts/upgrade-your-existing-projects-to-.net-8-abp-8.0-x0n7hiqr To update from 7.4.1 to 8.0.0
And I have two errors when I launch my Blazor application:
Failed to start platform. Reason: TypeError: Cannot read properties of undefined (reading 'dotnet.wasm') at Vt (global.js?_v=638368097806085722:1:62226) TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at global.js?_v=638368097806085722:1:37659 at global.js?_v=638368097806085722:1:38464 at Object.start (global.js?_v=638368097806085722:1:46018) at Vt (global.js?_v=638368097806085722:1:62202)
Afterwards, I run "abp bundle" in folder blazor.host
Did you follow the migration guides mentioned in the article? You should update the Blazorise package versions to 1.3.2
and then run abp bundle
command.
Also, you should update the LeptonX package version as follows:
<PackageReference Include="Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXTheme" Version="3.0.*-*" />
Hi, please run the abp bundle
command manually under the Blazor projects. This is a known issue, it has been fixed and will be included in the next version.
Thanks for the links, we will try and implement please keep this open for next 3-4 days then if you don't hear from us you can close this ticket.
Sure, I'll keep it open.
Hi, we don't provide text-editor components out of the box with LeptonX Theme. We are using https://github.com/nhn/tui.editor as the editor in the support.abp.io website.
If you want you can use the @abp/tui-editor npm package in your application and follow the steps on the website for configurations.
Here is an example usage: new.js#L63-L87 from the Blogging module.