[Bug]: API page not getting published if it contains a field of type Enum that has the same Name as another API Page that holds this as EntityName #2362
Labels
Contribution-Bug
Something isn't working in the contribution process
Follow Up
The issue has an open question and must be followed up on
Describe the issue
If you have an EntityName on an API page (within the same APIGroup) that matches a field of type Enum on another page, then that page on which the Enum field is located will not be published.
Below is a screenshot of 2 pages in that same repo from standard BC tables (find code in the public repo louagej/apicase).
When you publish page 62001 with EntityName itemTypes, Page 62002 jobItems is
no longer available
as an API page.When you publish page 62001 with EntityName itemVariant, Page 62002 jobItems is available again as an API page.
When you publish page 62001 with EntityName itemTypes and APIGroup mySecondGroup, Page 62002 jobItems is also available as an API page.
Expected behavior
The API Page should be published, even in the same API Group
Steps to reproduce
You can find code in the public repo louagej/apicase.
Publish the app to a BC environment and test the API endpoints
Additional context
No response
The text was updated successfully, but these errors were encountered: