Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
2.3
-
None
-
Windows 11 Pro 64 bit, Chrome 105, using a local instance of XWiki 14.4.4 on Oracle 19c
-
Unknown
-
Description
STEPS TO REPRODUCE
- Add a test and navigate to it or just navigate to Test Report Application
EXPECTED RESULTS
No warnings/errors are displayed.
ACTUAL RESULTS
Many warnings are displayed related to deprecated usage of HQL parameters. Stacktrace:
2022-09-23 10:06:08,737 [http-nio-1115-exec-5 - http://localhost:1115/xwiki/bin/get/QA/LiveTableResults?outputSyntax=plain&transprefix=qaapp.WebHome.LiveTable.&classname=&collist=deprecated%2Cdoc.title%2Cdoc.space%2CwikiType%2CuserType%2Cproduct%2Cbrowsers%2Cdatabases%2CservletContainers%2Cautomated&queryFilters=currentlanguage%2Chidden&deprecated_class=QA.TestClass&wikiType_class=QA.TestClass&userType_class=QA.TestClass&automated_class=QA.TestClass&offset=1&limit=15&reqNo=1&sort=doc.title&dir=asc] WARN c.x.x.XWiki - Deprecated usage legacy-style HQL ordinal parameters (`?`); use JPA-style ordinal parameters (e.g., `?1`) instead. Query [select doc.fullName from XWikiDocument doc , BaseObject as obj where (doc.hidden <> true or doc.hidden is null) and ((doc.language is null or doc.language = '' or doc.language = 'en') and (obj.name=doc.fullName and obj.className = ? and doc.fullName not in (?, ?) )) order by lower(doc.title) asc, doc.title asc] has been converted to [select doc.fullName from XWikiDocument doc , BaseObject as obj where (doc.hidden <> true or doc.hidden is null) and ((doc.language is null or doc.language = '' or doc.language = 'en') and (obj.name=doc.fullName and obj.className = ?1 and doc.fullName not in (?2, ?3) )) order by lower(doc.title) asc, doc.title asc]