Description
Kind of generalization of "User cannot be swapped with another user" ticket.
Steps:
- Go to any content page
- Click Locations tab
- Click Select content item in Location Content Swap section
- Navigate in the UDW and try to select users or articles (non-container contents)
Actual result:
It is impossible to swap locations with a non-container content.
Expected result:
It should be allowed to swap location with a non-container content.
Technical note:
As far as I understand the UDW module, that an error in configName passed in the ez_udw_config filter, in the ezplatform-admin-ui/src/bundle/Resources/views/themes/admin/content/tab/locations/panel_swap.html.twig:
{{ form_widget(form.swap, {'attr': { 'disabled': not can_swap, 'class': 'btn btn-secondary btn--udw-swap ml-5', 'data-udw-config': ez_udw_config('single_container', {}) }}) }}
We use "single_container", where I would have use "single".