zikula / core

Zikula Core Framework
GNU Lesser General Public License v3.0
237 stars 68 forks source link

Category registry editing: entity selection builder seems broken #3776

Closed Guite closed 6 years ago

Guite commented 7 years ago
Q A
Zikula Version 1.5.0
PHP Version any

Expected behavior

Adding new category registries allows selecting an entity for a selected module.

Actual behavior

Entity selection is empty. Inspecing the ajax response shows that the field is empty there already.

Steps to reproduce

  1. Visit /categories/registry/edit
  2. Choose a module at the Select module dropdown list
  3. Notice no entity is available in the entity dropdown list

This happens for both new-style modules as well as legacy modules.

Additional information

Possibly involved classes: CategoryRegistryType, EntitySelectionBuilder

craigh commented 6 years ago

this works properly for me on 2.0

screen shot 2017-08-23 at 8 54 51 am screen shot 2017-08-23 at 8 55 02 am screen shot 2017-08-23 at 8 55 13 am

Guite commented 6 years ago

On a 1.5 page from @rallek the dropdown list was empty. There were new-style modules installed (e.g. CmfCmfMediaModule) and also legacy modules (e.g. News), but none were included.

craigh commented 6 years ago

CmfCmfMediaModule is technically not fully a '2.0-type' module yet. It was written with the most current tech of its time to be sure (1.4.3 I think) but many APIs were yet to be fully implemented or invented, so It is using much legacy code still. I am hoping @cmfcmf is updating it 😄

Guite commented 6 years ago

It uses the categorizable capability though. So from the Categories module's point of view it is "new-style".