ONLYOFFICE / onlyoffice-liferay

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

Connector v2.4.0 does not support Liferay Portal 7.4 GA125 #44

Open haba713 opened 1 month ago

haba713 commented 1 month ago

Liferay ONLYOFFICE Connector v2.4.0 does not support Liferay Portal 7.4 GA125.

Steps to reproduce the issue:

  1. Create a deployment directory:
    mkdir deploy
  2. Start Liferay:
    docker run -d -it --name liferay -p 8080:8080 -v $PWD/deploy:/opt/liferay/deploy liferay/portal:7.4.3.125-ga125
  3. Deploy Connector:
    cp onlyoffice.integration.web-2.4.0-DXP7.4-U44.jar deploy/
  4. See the error:
    docker logs -f liferay
    2024-09-26 14:50:04.184 ERROR [fileinstall-directory-watcher][DirectoryWatcher:988]
    Unable to start bundle: file:/opt/liferay/osgi/modules/onlyoffice.integration.web-2.4.0-DXP7.4-U44.jar
    com.liferay.portal.kernel.log.LogSanitizerException: org.osgi.framework.BundleException:
    Could not resolve module: onlyoffice.integration.web [1392]_ 
    Unresolved requirement: Import-Package: org.apache.log4j; version="0.0.0"_ [Sanitized]
    ...
villeman7 commented 1 month ago

With these updates Liferay ONLYOFFICE Connector v2.4.0 works on Liferay Portal 7.4 GA125.

haba713 commented 1 month ago

Thanks a lot @villeman7! 👍

@LinneyS / @aleksandrfedorov97, could you please review the changes and make a new release compatible with the current portal version?