cuba-platform / cuba

CUBA Platform is a high level framework for enterprise applications development
https://www.cuba-platform.com
Apache License 2.0
1.34k stars 219 forks source link

Revert ServiceInterceptor changes from 7.2.12 #3167

Closed dtaimanov closed 3 years ago

dtaimanov commented 3 years ago

Problem

ServiceInterceptor proxy creation has been changed in cuba-platform/cuba#3080 : SpringAOP API used instead of aspectJ in order to consider inheritance of @Service annotation.

SpringAOP PostProcessor (unlike AspectJ one) cannot work with cyclic bean references, which brokes projects with such references or webdav / LDAP addons used. (see https://www.cuba-platform.ru/discuss/t/tekushhaya-versiya-webdav-2-5-3-ne-sovmestima-s-platformoj-7-2-12/5517)

Solution

Revert cuba-platform/cuba#3080 until next minor or major release

QA Notes

  1. Apply webdav addon to project
  2. Run project and log in

ER: login successfull