package domain1
@UiController("domain1_Entity")
@UiDescriptor("domain1-entity.xml")
class EntityController {
}
package domain2
@UiController("domain2_Entity")
// here we do not override UiDescriptor annotation because
// we expect it should be inherited from domain1.EntityController
class EntityControllerExt extends domain2.EntityController {
}
Expected behaviour: domain2_Entity controller uses /domain1/domain1-entity.xml as template
Real behaviour:
Caused by: com.haulmont.cuba.core.global.DevelopmentException: Template is not found /domain2/domain1-entity.xml
Note: CUBA Studio assumes that no more than one controller is associated with screen descriptor.
So you may have problems with screen designer functioning for such shared xml descriptors.
Environment
Description of the bug or enhancement
Scenario: