ONLYOFFICE / onlyoffice-liferay

Plugin for integrating ONLYOFFICE online editors with Liferay
Apache License 2.0
1 stars 6 forks source link

Many deprecated methods and classes used #36

Closed ccariou closed 2 years ago

ccariou commented 2 years ago

Hi,

Tryning to deploy 2.1 or 2.2 versions of the connector on Liferay 7.4, I encounter many error due to deprecations/removal of class and methods.

Exemple :

ModelResourcePermissionHelper is deprecated and retired since 7.4ga21. But still used in the connector. So it generates error on document library like this : _"java.lang.ClassNotFoundException: com.liferay.portal.kernel.security.permission.resource.ModelResourcePermissionHelper cannot be found by onlyoffice.integration.web2.2.0"

You should use ModelResourcePermissionUtil.

But that's not the only one. There is changes in DLApp methods (create/update).

Especially, ga39 have many removal of so called "unused method" that it is used on Action Menu customisations in the connector

So the actual releases are not eligibles for Lifeay 7.4ga21+...

Regards

PS : we, at our company, could contribute to the project if you agreed, instead of forking it. Do you accept contributors ?