Any news about the fix? It's not possible to use ABP Suite with the last version to create a new module
https://github.com/abpframework/abp/pull/18702
With this PR, it will be fixed and will be included in the next release. In meantime, if it's so urgent for you to create a template, then you can consider to downgrade the ABP CLI and ABP Suite versions to v8.0.0.
Hi, the application was not running, turned off the antivirus and created a new abp application from ABP Suite and still got that error.
Thanks. I have addressed the problem and create a PR for it: https://github.com/abpframework/abp/pull/18702
There is an important error in ABP Suite for 8.0.1.
Can't create a module even in a clean installation.
You get the following error while creating a new module
Please, this requires special attention to be fixed soon and this shouldn't happen in future versions since it's a basic functionality of ABP Suite
Thanks.
Hi, can you check if your application is running or not? If it's running please stop it and then re-try to add the module.
Hello @szhongfang,
I am trying to reproduce the issue but am unable to do so. Could you please share your application on support@abp.io with the ticket number so that we can better assist you?
Or if you are unable to share your project, then please share the entity details. (both RuleGroup
and RuleSystem
entities and .suite/entities folder in your application)
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?
📗 Documentation
📘 Other Resources (ABP Studio Introduction Videos)
✏️ Feel free to report any bugs, issues, and problems.
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.