Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.9.1.1
-
None
-
Windows 10 Pro 64 bit, Edge 79, using a local instance XWiki 11.10.3 on PostgreSQL 12, Tomcat 9.0.27
-
Unknown
-
Description
STEPS TO REPRODUCE
- Set up the Publication Workflow Application
- Create a new Publication Workflow Config page from Template
- Add 'PublicationWorkflow.PublicationWorkflowPanel' to left/right panels
- Create a new page and start an workflow
- Publish the page
EXPECTED RESULTS
There are no warnings/errors in console.
ACTUAL RESULTS
When starting an workflow and publish a page (not limited to, may be reproducing in other cases), there are some warnings related to deprecated usages of ordinal parameters which can fill up the logs.
Stacktrace:
2020-02-17 14:49:05,018 [http://localhost:1113/xwiki/bin/view/PublicationWorkflow/Script] WARN c.x.x.XWiki - Deprecated usage legacy-style HQL ordinal parameters (`?`); use JPA-style ordinal parameters (e.g., `?1`) instead. Query [select obj.name from BaseObject obj, StringProperty target, IntegerProperty istarget where obj.className = ? and obj.id = target.id.id and target.id.name = ? and target.value = ? and obj.id = istarget.id.id and istarget.id.name = ? and istarget.value = 0] has been converted to [select obj.name from BaseObject obj, StringProperty target, IntegerProperty istarget where obj.className = ?1 and obj.id = target.id.id and target.id.name = ?2 and target.value = ?3 and obj.id = istarget.id.id and istarget.id.name = ?4 and istarget.value = 0] 2020-02-17 14:49:05,144 [http://localhost:1113/xwiki/bin/view/PublicationWorkflow/Script] INFO w.i.DefaultPublicationWorkflow - Published this document to xwiki:Sandbox.Pag1wPubl\.WebHome.WebHome. 2020-02-17 14:49:05,593 [http://localhost:1113/xwiki/bin/view/Sandbox/Pag1wPubl.WebHome/] WARN c.x.x.XWiki - Deprecated usage legacy-style HQL ordinal parameters (`?`); use JPA-style ordinal parameters (e.g., `?1`) instead. Query [select obj.name from BaseObject obj, StringProperty target, IntegerProperty istarget where obj.className = ? and obj.id = target.id.id and target.id.name = ? and target.value = ? and obj.id = istarget.id.id and istarget.id.name = ? and istarget.value = 0] has been converted to [select obj.name from BaseObject obj, StringProperty target, IntegerProperty istarget where obj.className = ?1 and obj.id = target.id.id and target.id.name = ?2 and target.value = ?3 and obj.id = istarget.id.id and istarget.id.name = ?4 and istarget.value = 0] 2020-02-17 14:49:16,446 [http://localhost:1113/xwiki/bin/view/Sandbox/Pag1wPubl.WebHome/] WARN c.x.x.XWiki - Deprecated usage legacy-style HQL ordinal parameters (`?`); use JPA-style ordinal parameters (e.g., `?1`) instead. Query [select obj.name from BaseObject obj, StringProperty target, IntegerProperty istarget where obj.className = ? and obj.id = target.id.id and target.id.name = ? and target.value = ? and obj.id = istarget.id.id and istarget.id.name = ? and istarget.value = 0] has been converted to [select obj.name from BaseObject obj, StringProperty target, IntegerProperty istarget where obj.className = ?1 and obj.id = target.id.id and target.id.name = ?2 and target.value = ?3 and obj.id = istarget.id.id and istarget.id.name = ?4 and istarget.value = 0] 2020-02-17 14:51:03,617 [http://localhost:1113/xwiki/bin/view/PublicationWorkflow/Script] WARN c.x.x.XWiki - Deprecated usage legacy-style HQL ordinal parameters (`?`); use JPA-style ordinal parameters (e.g., `?1`) instead. Query [select obj.name from BaseObject obj, StringProperty target, IntegerProperty istarget where obj.className = ? and obj.id = target.id.id and target.id.name = ? and target.value = ? and obj.id = istarget.id.id and istarget.id.name = ? and istarget.value = 0] has been converted to [select obj.name from BaseObject obj, StringProperty target, IntegerProperty istarget where obj.className = ?1 and obj.id = target.id.id and target.id.name = ?2 and target.value = ?3 and obj.id = istarget.id.id and istarget.id.name = ?4 and istarget.value = 0] 2020-02-17 14:51:03,709 [http://localhost:1113/xwiki/bin/view/PublicationWorkflow/Script] INFO w.i.DefaultPublicationWorkflow - Started workflow PublicationWorkflow.Work1 on document xwiki:Pag11.WebHome 2020-02-17 15:12:40,672 [http://localhost:1113/xwiki/bin/edit/App2/] WARN onentManagerEventListenerProxy - Unable to register the component associated to [Object xwiki:App2.WebHome^XWiki.UIExtensionClass[0]]: WikiComponentException: Registering UI extensions at wiki level requires wiki administration rights 2020-02-17 15:50:53,418 [http://localhost:1113/xwiki/bin/view/PublicationWorkflow/Script] WARN c.x.x.XWiki - Deprecated usage legacy-style HQL ordinal parameters (`?`); use JPA-style ordinal parameters (e.g., `?1`) instead. Query [select obj.name from BaseObject obj, StringProperty target, IntegerProperty istarget where obj.className = ? and obj.id = target.id.id and target.id.name = ? and target.value = ? and obj.id = istarget.id.id and istarget.id.name = ? and istarget.value = 0] has been converted to [select obj.name from BaseObject obj, StringProperty target, IntegerProperty istarget where obj.className = ?1 and obj.id = target.id.id and target.id.name = ?2 and target.value = ?3 and obj.id = istarget.id.id and istarget.id.name = ?4 and istarget.value = 0] 2020-02-17 15:56:02,074 [http://localhost:1113/xwiki/bin/view/PublicationWorkflow/Script] INFO w.i.DefaultPublicationWorkflow - Started workflow PublicationWorkflow.Work1 on document xwiki:Pag22.WebHome 2020-02-17 15:58:45,626 [http://localhost:1113/xwiki/bin/view/PublicationWorkflow/Script] INFO w.i.DefaultPublicationWorkflow - Marked document xwiki:Pag22.WebHome as valid. 2020-02-17 15:58:50,286 [http://localhost:1113/xwiki/bin/view/PublicationWorkflow/Script] WARN c.x.x.XWiki - Deprecated usage legacy-style HQL ordinal parameters (`?`); use JPA-style ordinal parameters (e.g., `?1`) instead. Query [select obj.name from BaseObject obj, StringProperty target, IntegerProperty istarget where obj.className = ? and obj.id = target.id.id and target.id.name = ? and target.value = ? and obj.id = istarget.id.id and istarget.id.name = ? and istarget.value = 0] has been converted to [select obj.name from BaseObject obj, StringProperty target, IntegerProperty istarget where obj.className = ?1 and obj.id = target.id.id and target.id.name = ?2 and target.value = ?3 and obj.id = istarget.id.id and istarget.id.name = ?4 and istarget.value = 0] 2020-02-17 15:58:50,409 [http://localhost:1113/xwiki/bin/view/PublicationWorkflow/Script] INFO w.i.DefaultPublicationWorkflow - Published this document to xwiki:Sandbox.P22.WebHome. 2020-02-17 15:58:50,894 [http://localhost:1113/xwiki/bin/view/Sandbox/P22/] WARN c.x.x.XWiki - Deprecated usage legacy-style HQL ordinal parameters (`?`); use JPA-style ordinal parameters (e.g., `?1`) instead. Query [select obj.name from BaseObject obj, StringProperty target, IntegerProperty istarget where obj.className = ? and obj.id = target.id.id and target.id.name = ? and target.value = ? and obj.id = istarget.id.id and istarget.id.name = ? and istarget.value = 0] has been converted to [select obj.name from BaseObject obj, StringProperty target, IntegerProperty istarget where obj.className = ?1 and obj.id = target.id.id and target.id.name = ?2 and target.value = ?3 and obj.id = istarget.id.id and istarget.id.name = ?4 and istarget.value = 0]