You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-api/src/main/java/org/xwiki/repository/internal/ExtensionStore.java
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -539,10 +539,11 @@ public String getLastVersion(String extensionId) throws QueryException
539
539
Queryquery =
540
540
this.queryManager.createQuery("select version.version, version.index from Document doc, doc.object("
541
541
+ XWikiRepositoryModel.EXTENSIONVERSION_CLASSNAME
542
-
+ ") as version where version.id = :extensionId order by version.index desc", Query.XWQL);
542
+
+ ") as version where version.id = :extensionId and version.index is not null "
0 commit comments