Description:
LFS plugin fails on Gerrit 3.13 with a runtime error caused by an internal API change in com.google.gerrit.entities.Project.NameKey.
The plugin throws IncompatibleClassChangeError when accessing any LFS endpoint (e.g. /lfs~lfs:config-project).
Steps to Reproduce:
Deploy Gerrit 3.13.
Install the current LFS plugin (plugins/lfs built from upstream).
Access any LFS REST endpoint such as:
Observe Gerrit logs.
Expected Result:
LFS plugin should load normally and allow project LFS configuration requests without error.
Actual Result:
The following error appears in the Gerrit logs:
Additional Information:
The issue occurs because Project.NameKey was refactored from a class to an interface in Gerrit 3.13.
Updating the plugin code to use Project.nameKey(...) and resource.getNameKey() resolves the issue locally.
Requesting creation of a stable-3.13 branch or an official rebuild of the LFS plugin for Gerrit 3.13.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/638b848e-1e9d-4545-99df-0ceedaf0fe80n%40googlegroups.com.