Sorter handler error

Hi! i having an error when trying to sort a collection Dc using sorter handler, open screen derive in “com.haulmont.cuba.core.global.DevelopmentException: Unable to find @Install target for method private void com.company.caerp.web.articuloconfig.ArticuloConfigEdit.itemsDcSorter(com.haulmont.cuba.core.global.Sort) in class com.company.caerp.web.articuloconfig.ArticuloConfigEdit”

@UiController("caerp$ArticuloAlquilerInfo.edit")
@UiDescriptor("articulo-config-edit.xml")
@EditedEntityContainer("articuloConfigDc")
@LoadDataBeforeShow
public class ArticuloConfigEdit extends StandardEditor<ArticuloConfig> {

    @Install(to = "itemsDc", target = Target.DATA_CONTAINER, subject = "sorter")
    private void itemsDcSorter(Sort sort) {

        if (sort != null) {

        }

    }


}

image

image

Hi @marc.delphi,

I can’t reproduce your case. Could you share the test project where the case can be reproduced?

Regards,
Gleb

This is closed, i updated to latest framework, and its works according to this bug fix: Installing handler for data container causes exception · Issue #2658 · cuba-platform/cuba · GitHub