cuba-platform / cuba-sdk

Software development kit for CUBA Platform
Apache License 2.0
4 stars 3 forks source link

Fix LocalRepositorySearch in cuba-components module #73

Open artemglinov opened 3 years ago

artemglinov commented 3 years ago

The overriden function search in the LocalRepositorySearch class is now useless. It is necessary to:

  1. clarify a returned value ( it always returns null instead of a component with the correctly constructed components property);
  2. generalize the search algorithm with respect to the Jmix case as the Jmix artifacts file structure (conditioned by framework multimodularity) implies one more nesting level in comparison with CUBA (e.g., com.haulmont.cuba:cuba-global:7.2.15 and io.jmix.core:jmix-core:1.0.1 - any module in Jmix corresponds to the specific Maven group with its own artifacts while CUBA group com.haulmont.cuba is the same for all basic artifacts (cuba-global, cuba-core etc.)).