- Issue created by @Supreetam09
- 🇮🇳India Supreetam09 KolkataWe need to handle 2 cases: - When the count of type of entity bundles involved is more than 1, then current code will work, as count($handler->getReferenceableEntities(NULL, 'CONTAINS', 2))will return 2
- When the count of type of entity bundles involved is equal to 1, we need to count the items inside bundle array key. Ex: in my case, the count should have been of count($handler->getReferenceableEntities(NULL, 'CONTAINS', 2)['gallery_item'])
 
- When the count of type of entity bundles involved is more than 1, then current code will work, as 
- 🇮🇳India Supreetam09 KolkataThere is some SSH error, I can't create MR. 
 Adding a patch instead for the fix.
- Status changed to Needs reviewabout 1 year ago 10:04am 23 August 2024