enonic / lib-admin-ui

Enonic XP Administration UI.
GNU General Public License v3.0
5 stars 5 forks source link

ContentTypeFilter is using incorrect REST API to retrieve content types in context #441

Closed alansemenov closed 6 years ago

alansemenov commented 6 years ago

Input type ContentTypeFilter is supposed to support config.context option which enables fetching content types only in current context (only content types from application assigned to current site), see here.

However, in this mode we are using incorrect REST API GetAllContentTypesRequest. We should use GetContentTypesByApplicationRequest instead - send one request per application and then concatenate the results.

Support ticket

pmi commented 6 years ago

Issue moved to enonic/xp #6210 via ZenHub