You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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
#7903
Open
louagej opened this issue
Nov 14, 2024
· 0 comments
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:
Problem description
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: