Details
-
Bug
-
Resolution: Fixed
-
High
-
2.5.1
-
None
Description
Creating a Custom Block with more than one locationlist attribute will result in only first one working correctly, as the "Select Content" button is not working for any of them than the first.
Steps to reproduce
1. Clean installation of eZ Platform EE 2.5.1
2. Create a new Custom Block:
ezplatform.yml
ezplatform_page_fieldtype: blocks: testbblock: name: 'Test Block' thumbnail: '/bundles/ezplatformadminui/img/ez-icons.svg#contentlist' views: testblock: template: 'AppBundle:blocks:testblock.html.twig' name: 'Default block template' attributes: list1: type: locationlist name: 'List 1' list2: type: locationlist name: 'List 2' list3: type: locationlist name: 'List 3'
3. Create empty testblock.html.twig template in AppBundle/Resources/views/blocks/ directory.
4. Create a new LandingPage, drag na drop "Test Block".
5. Open settings view to newly added block
Result
Only the first "Select content" button will work.