Open Closed

Permissions.cs not Found Adding Entity in Identity Service. #2508


User avatar
0
thedatacrew created

Hi,

When opening the Identity Service Solution in ABP Suite and adding a new Entity to the Service we get a "Cannot Find Permissions.cs" error when doing a build and generate.

This does not happen on the Services that we have added.

Using v5.0.1 Microservices Solution Template.

Regards

Toby.


6 Answer(s)
  • User Avatar
    0
    thedatacrew created

    Hi,

    It's been a few days and we have since updated the solution to 5.3.1 and tried to extend the "Administration Service" with a new Entity.

    However, we still get the same errors. The CRUD templates are not applying correctly for the scenario, how do we get this working so that we can move on with our development?

    Thanks

    Toby.

  • User Avatar
    0
    gterdem created
    Support Team Senior .NET Developer

    Administration, Identity and Saas services are infrastructural microservices. Abp Suite can not generate pages for these services. If you need to make changes in them, please try adding manually.

  • User Avatar
    0
    thedatacrew created

    There are 2 blocks of code that it breaks, surely it can't be that complicated to support this. Also, we found this ticket from 2 years ago https://support.abp.io/QA/Questions/17#answer-47ee0eaa-6543-fa31-447c-39f332362369

    Regards

    Toby.

  • User Avatar
    0
    alper created
    Support Team Director

    this is different that's mentioned in https://support.abp.io/QA/Questions/17 .we already support module templates. but Administration, Identity and Saas modules are not identical to the ABP new module template that's why ABP Suite cannot properly generate on these modules.

  • User Avatar
    0
    thedatacrew created

    It's a shame as the code is very close to working bar a couple of template changes, if you have stuff that needs to be managed in the Administration Service it makes sense to support its extensibility as you do with other modules.

    I guess we will have to do this manually as you suggested.

  • User Avatar
    0
    alper created
    Support Team Director

    for now, you can generate with Suite and make the necessary modifications. On the other hand, I created an issue to support these modules for the new versions. (issue: 9022)

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11