From a91122d0be9f9c939c460be5f45f3a757463ac4e Mon Sep 17 00:00:00 2001 From: Houssem Ben Ali Date: Thu, 4 Jul 2024 21:14:09 +0100 Subject: [PATCH] Fix io.meeds.distribution property version affectation (#2269) Before this fix, when checking /rest/platform/info, the `io.meeds.distribution` property is missing which raises an exception. This change will ensure that the missing property gets the correct platform version ```bash org.exoplatform.commons.info.MissingProductInformationException: Missing product information property: io.meeds.distribution at org.exoplatform.commons.info.ProductInformations.getVersion(ProductInformations.java:163) at org.exoplatform.commons.info.ProductInformations.getVersion(ProductInformations.java:154) at org.exoplatform.commons.info.PlatformInformationRESTService.getPlatformInformation(PlatformInformationRESTService.java:76) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ``` --- .../src/main/resources/conf/platform.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/plf-community-edition-service/src/main/resources/conf/platform.properties b/services/plf-community-edition-service/src/main/resources/conf/platform.properties index 791907999..709bd6a36 100644 --- a/services/plf-community-edition-service/src/main/resources/conf/platform.properties +++ b/services/plf-community-edition-service/src/main/resources/conf/platform.properties @@ -29,4 +29,4 @@ io.meeds.social=@io.meeds.social.version@ # Platform version org.exoplatform.platform=@io.meeds.social.version@ -io.meeds=@io.meeds.social.version@ +io.meeds.distribution=@io.meeds.social.version@