Affects Version/s: Master
Component/s: Asset Framework
When setting an initial set of category ids to the liferay-asset:asset-categories-selector, via its categoryIds attribute, every category is assigned to every vocabulary regardless its membership.
Steps to reproduce:
- Create a "Minium DEMO" site
- Browse to the dashboard page group/<site-name>/dashboard
- Configure the Forecast Dashboard widget
- Select a category and save
The category is saved and assigned to the appropriate vocabulary
The category is saved, its label is assigned to every listed vocabulary regardless of the category membership (see attached screenshot)
Note: I could not find any other usage of the asset-category-selector using the taglib categoryIds attribute as follow:
Note2: This bug was discovered while fixing the
COMMERCE-6265 issue. To use provided steps to reproduce, teh fix for afore mentioned bug is required.