Skip to content

Commit

Permalink
Fix io.meeds.distribution property version affectation (#2269)
Browse files Browse the repository at this point in the history
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)
```
  • Loading branch information
hbenali authored Jul 4, 2024
1 parent f192adf commit a91122d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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@

0 comments on commit a91122d

Please sign in to comment.