Open Closed

[BUG] Abp Suite - Entity is not retained while exception #6704


User avatar
1
rafael.gonzales created
  • ABP Framework version: v8.1.0.rc-1

  • UI Type: MVC

  • Database System: EF Core (PostgreSQL, etc..)

  • Tiered (for MVC) or Auth Server Separated (for Angular): no

  • Steps to reproduce the issue:

When you use ABP Suite and create an Entity with the following information

When you set your columns and for some reasons the ABP Suite throws an Excepetion. All your entity configuration gets deleted

Note: Please, would be helpful for us to create a topic for 8.1.x Bugs and Issues. I only have 5 remaining questions available and I have more issues to report.

Thanks!


5 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, how can I reproduce it? I have created a project named "Demo2" like yours and filled in the entity metadata as in the screenshot that you shared, but could not reproduce it:

  • User Avatar
    0
    rafael.gonzales created

    Sure, I created a Loom with the footage of the issue.

    https://www.loom.com/share/0281cc2d84f24cc6950b803db9755ccf?sid=1661c041-1e0d-48b9-8cb4-9146716bc9c2

    Dear EngincanV, I have also another issue with migrations. Sometimes the demo2 (with version 8.1.0.rc-1) doesn't apply any migrations at all, it's a weird bug because it happens (sometimes!!) when the project is created or when I create or update an already existing entity (It happens randomly). I will try to create a loom at the exact moment when It happens.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Sure, I created a Loom with the footage of the issue.

    https://www.loom.com/share/0281cc2d84f24cc6950b803db9755ccf?sid=1661c041-1e0d-48b9-8cb4-9146716bc9c2

    Dear EngincanV, I have also another issue with migrations. Sometimes the demo2 (with version 8.1.0.rc-1) doesn't apply any migrations at all, it's a weird bug because it happens (sometimes!!) when the project is created or when I create or update an already existing entity (It happens randomly). I will try to create a loom at the exact moment when It happens.

    Hi, thanks for sharing the problem with a gif. Weirdly, I could not reproduce the entity deletion problem, and also could not reproduce the" entity names can not be the same with the namespace" problem.

    I think it might be related to that you had a project name "Demo2" in the appsettings.json file of the ABP Suite and when you create a new project with the same name and by having the same entity "Book", it might get confused and gives the errors. So, can you check that you have a project with the name "Demo2" twice in the appsettings.json file?

  • User Avatar
    0
    rafael.gonzales created

    It still happens to me even in my other projects not named "Demo". I have to fill the first page then add whatever column and save to avoid any loosing data.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    It still happens to me even in my other projects not named "Demo". I have to fill the first page then add whatever column and save to avoid any loosing data.

    I'm sorry I still could not reproduce it. Can you make a clean uninstallation by following the steps https://support.abp.io/QA/Questions/414/ABP-Suite-install-problem-How-can-I-reinstall-clean-install#answer-9c56ff0e-0a46-ffd1-dd08-39f78e032607 in this question? And then try in a private window? (I think it might be related to an extension that you are using, because we haven't got any other questions related to that, and currently I don't have any idea why it's happening)

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35